HSL(252, 30%, 83%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,30%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 30%, 83%) | color: hsl(252, 30%, 83%) | |
| HEX | #CCC7E1 | color: #CCC7E1 | |
| RGB | rgb(204, 199, 225) | color: rgb(204, 199, 225) | |
| CMYK | cmyk(9%, 12%, 0%, 12%) | — | |
| HSV | hsv(252, 12%, 88%) | — | |
| HWB | hwb(252 77% 12%) | color: hwb(252 77% 12%) | |
| OKLCH | oklch(0.8418 0.0362 294.43) | color: oklch(0.8418 0.0362 294.43) | |
| Lab | lab(81.36 6.67 -12.26) | color: lab(81.36 6.67 -12.26) | |
| LCH | lch(81.36 13.96 298.55) | color: lch(81.36 13.96 298.55) |
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)
#CACADB — rgb(202, 202, 219)
Deuteranopia (Green-blind)
#CACBD9 — rgb(202, 203, 217)
Tritanopia (Blue-blind)
#CCD6D5 — rgb(204, 214, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 30%, 83%);
text
color: hsl(252, 30%, 83%);
border
border: 2px solid hsl(252, 30%, 83%);
gradient light
background: linear-gradient(to right, hsl(252, 30%, 100%), hsl(252, 30%, 83%));
gradient dark
background: linear-gradient(to right, hsl(252, 30%, 83%), hsl(252, 30%, 63%))
hex
background-color: #CCC7E1;
tailwind
bg-[hsl(252,30%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 30%, 83%, 0.4);
css variable
--color-primary: hsl(252, 30%, 83%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 30%, 83%)?
HEX: #CCC7E1 | RGB: rgb(204, 199, 225) | CMYK: 9%, 12%, 0%, 12% | HSV: 252°, 12%, 88%. Copy any format from the conversion table above.
What colors go well with #CCC7E1?
The complementary color is HSL(72, 30%, 83%). 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, 30%, 83%) in CSS?
As HSL: color: hsl(252, 30%, 83%); — As HEX: color: #CCC7E1; — As RGB: color: rgb(204, 199, 225); — Tailwind CSS: bg-[hsl(252,30%,83%)] — CSS variable: --color-primary: hsl(252, 30%, 83%);