HSL(251, 25%, 75%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,25%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 25%, 75%) | color: hsl(251, 25%, 75%) | |
| HEX | #B5AFCF | color: #B5AFCF | |
| RGB | rgb(181, 175, 207) | color: rgb(181, 175, 207) | |
| CMYK | cmyk(13%, 15%, 0%, 19%) | — | |
| HSV | hsv(251, 15%, 81%) | — | |
| HWB | hwb(251 69% 19%) | color: hwb(251 69% 19%) | |
| OKLCH | oklch(0.7694 0.0456 293.9) | color: oklch(0.7694 0.0456 293.9) | |
| Lab | lab(72.88 8.43 -15.41) | color: lab(72.88 8.43 -15.41) | |
| LCH | lch(72.88 17.57 298.68) | color: lch(72.88 17.57 298.68) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#B2B2C7 — rgb(178, 178, 199)
Deuteranopia (Green-blind)
#B3B3C5 — rgb(179, 179, 197)
Tritanopia (Blue-blind)
#B5C1C0 — rgb(181, 193, 192)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 25%, 75%);
text
color: hsl(251, 25%, 75%);
border
border: 2px solid hsl(251, 25%, 75%);
gradient light
background: linear-gradient(to right, hsl(251, 25%, 95%), hsl(251, 25%, 75%));
gradient dark
background: linear-gradient(to right, hsl(251, 25%, 75%), hsl(251, 25%, 55%))
hex
background-color: #B5AFCF;
tailwind
bg-[hsl(251,25%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 25%, 75%, 0.4);
css variable
--color-primary: hsl(251, 25%, 75%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 25%, 75%)?
HEX: #B5AFCF | RGB: rgb(181, 175, 207) | CMYK: 13%, 15%, 0%, 19% | HSV: 251°, 15%, 81%. Copy any format from the conversion table above.
What colors go well with #B5AFCF?
The complementary color is HSL(71, 25%, 75%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 25%, 75%) in CSS?
As HSL: color: hsl(251, 25%, 75%); — As HEX: color: #B5AFCF; — As RGB: color: rgb(181, 175, 207); — Tailwind CSS: bg-[hsl(251,25%,75%)] — CSS variable: --color-primary: hsl(251, 25%, 75%);