HSL(251, 24%, 82%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,24%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 24%, 82%) | color: hsl(251, 24%, 82%) | |
| HEX | #CAC6DC | color: #CAC6DC | |
| RGB | rgb(202, 198, 220) | color: rgb(202, 198, 220) | |
| CMYK | cmyk(8%, 10%, 0%, 14%) | — | |
| HSV | hsv(251, 10%, 86%) | — | |
| HWB | hwb(251 77% 14%) | color: hwb(251 77% 14%) | |
| OKLCH | oklch(0.8366 0.0307 294.07) | color: oklch(0.8366 0.0307 294.07) | |
| Lab | lab(80.8 5.55 -10.42) | color: lab(80.8 5.55 -10.42) | |
| LCH | lch(80.8 11.81 298.04) | color: lch(80.8 11.81 298.04) |
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)
#C8C8D7 — rgb(200, 200, 215)
Deuteranopia (Green-blind)
#C9C9D5 — rgb(201, 201, 213)
Tritanopia (Blue-blind)
#CAD2D2 — rgb(202, 210, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 24%, 82%);
text
color: hsl(251, 24%, 82%);
border
border: 2px solid hsl(251, 24%, 82%);
gradient light
background: linear-gradient(to right, hsl(251, 24%, 100%), hsl(251, 24%, 82%));
gradient dark
background: linear-gradient(to right, hsl(251, 24%, 82%), hsl(251, 24%, 62%))
hex
background-color: #CAC6DC;
tailwind
bg-[hsl(251,24%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 24%, 82%, 0.4);
css variable
--color-primary: hsl(251, 24%, 82%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 24%, 82%)?
HEX: #CAC6DC | RGB: rgb(202, 198, 220) | CMYK: 8%, 10%, 0%, 14% | HSV: 251°, 10%, 86%. Copy any format from the conversion table above.
What colors go well with #CAC6DC?
The complementary color is HSL(71, 24%, 82%). 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, 24%, 82%) in CSS?
As HSL: color: hsl(251, 24%, 82%); — As HEX: color: #CAC6DC; — As RGB: color: rgb(202, 198, 220); — Tailwind CSS: bg-[hsl(251,24%,82%)] — CSS variable: --color-primary: hsl(251, 24%, 82%);