HSL(252, 15%, 82%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(252,15%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 15%, 82%) | color: hsl(252, 15%, 82%) | |
| HEX | #CDCAD8 | color: #CDCAD8 | |
| RGB | rgb(205, 202, 216) | color: rgb(205, 202, 216) | |
| CMYK | cmyk(5%, 6%, 0%, 15%) | — | |
| HSV | hsv(253, 6%, 85%) | — | |
| HWB | hwb(253 80% 15%) | color: hwb(253 80% 15%) | |
| OKLCH | oklch(0.8456 0.0195 295.8) | color: oklch(0.8456 0.0195 295.8) | |
| Lab | lab(81.93 3.64 -6.57) | color: lab(81.93 3.64 -6.57) | |
| LCH | lch(81.93 7.51 298.99) | color: lch(81.93 7.51 298.99) |
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)
#CCCCD5 — rgb(204, 204, 213)
Deuteranopia (Green-blind)
#CCCCD4 — rgb(204, 204, 212)
Tritanopia (Blue-blind)
#CDD2D1 — rgb(205, 210, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 15%, 82%);
text
color: hsl(252, 15%, 82%);
border
border: 2px solid hsl(252, 15%, 82%);
gradient light
background: linear-gradient(to right, hsl(252, 15%, 100%), hsl(252, 15%, 82%));
gradient dark
background: linear-gradient(to right, hsl(252, 15%, 82%), hsl(252, 15%, 62%))
hex
background-color: #CDCAD8;
tailwind
bg-[hsl(252,15%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 15%, 82%, 0.4);
css variable
--color-primary: hsl(252, 15%, 82%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 15%, 82%)?
HEX: #CDCAD8 | RGB: rgb(205, 202, 216) | CMYK: 5%, 6%, 0%, 15% | HSV: 253°, 6%, 85%. Copy any format from the conversion table above.
What colors go well with #CDCAD8?
The complementary color is HSL(72, 15%, 82%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 15%, 82%) in CSS?
As HSL: color: hsl(252, 15%, 82%); — As HEX: color: #CDCAD8; — As RGB: color: rgb(205, 202, 216); — Tailwind CSS: bg-[hsl(252,15%,82%)] — CSS variable: --color-primary: hsl(252, 15%, 82%);