HSL(251, 81%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,81%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 81%, 85%) | color: hsl(251, 81%, 85%) | |
| HEX | #C5BAF8 | color: #C5BAF8 | |
| RGB | rgb(197, 186, 248) | color: rgb(197, 186, 248) | |
| CMYK | cmyk(21%, 25%, 0%, 3%) | — | |
| HSV | hsv(251, 25%, 97%) | — | |
| HWB | hwb(251 73% 3%) | color: hwb(251 73% 3%) | |
| OKLCH | oklch(0.8194 0.0869 292.51) | color: oklch(0.8194 0.0869 292.51) | |
| Lab | lab(78.32 16.36 -29.24) | color: lab(78.32 16.36 -29.24) | |
| LCH | lch(78.32 33.51 299.23) | color: lch(78.32 33.51 299.23) |
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)
#C0C0E9 — rgb(192, 192, 233)
Deuteranopia (Green-blind)
#C1C2E5 — rgb(193, 194, 229)
Tritanopia (Blue-blind)
#C4DDDB — rgb(196, 221, 219)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 81%, 85%);
text
color: hsl(251, 81%, 85%);
border
border: 2px solid hsl(251, 81%, 85%);
gradient light
background: linear-gradient(to right, hsl(251, 81%, 100%), hsl(251, 81%, 85%));
gradient dark
background: linear-gradient(to right, hsl(251, 81%, 85%), hsl(251, 81%, 65%))
hex
background-color: #C5BAF8;
tailwind
bg-[hsl(251,81%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 81%, 85%, 0.4);
css variable
--color-primary: hsl(251, 81%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 81%, 85%)?
HEX: #C5BAF8 | RGB: rgb(197, 186, 248) | CMYK: 21%, 25%, 0%, 3% | HSV: 251°, 25%, 97%. Copy any format from the conversion table above.
What colors go well with #C5BAF8?
The complementary color is HSL(71, 81%, 85%). 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, 81%, 85%) in CSS?
As HSL: color: hsl(251, 81%, 85%); — As HEX: color: #C5BAF8; — As RGB: color: rgb(197, 186, 248); — Tailwind CSS: bg-[hsl(251,81%,85%)] — CSS variable: --color-primary: hsl(251, 81%, 85%);