HSL(252, 56%, 85%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,56%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 56%, 85%) | color: hsl(252, 56%, 85%) | |
| HEX | #CCC3EE | color: #CCC3EE | |
| RGB | rgb(204, 195, 238) | color: rgb(204, 195, 238) | |
| CMYK | cmyk(14%, 18%, 0%, 7%) | — | |
| HSV | hsv(253, 18%, 93%) | — | |
| HWB | hwb(253 76% 7%) | color: hwb(253 76% 7%) | |
| OKLCH | oklch(0.8385 0.0601 294.66) | color: oklch(0.8385 0.0601 294.66) | |
| Lab | lab(80.76 11.48 -20.12) | color: lab(80.76 11.48 -20.12) | |
| LCH | lch(80.76 23.16 299.71) | color: lch(80.76 23.16 299.71) |
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)
#C8C8E4 — rgb(200, 200, 228)
Deuteranopia (Green-blind)
#C9C9E1 — rgb(201, 201, 225)
Tritanopia (Blue-blind)
#CCDBDA — rgb(204, 219, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 56%, 85%);
text
color: hsl(252, 56%, 85%);
border
border: 2px solid hsl(252, 56%, 85%);
gradient light
background: linear-gradient(to right, hsl(252, 56%, 100%), hsl(252, 56%, 85%));
gradient dark
background: linear-gradient(to right, hsl(252, 56%, 85%), hsl(252, 56%, 65%))
hex
background-color: #CCC3EE;
tailwind
bg-[hsl(252,56%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 56%, 85%, 0.4);
css variable
--color-primary: hsl(252, 56%, 85%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 56%, 85%)?
HEX: #CCC3EE | RGB: rgb(204, 195, 238) | CMYK: 14%, 18%, 0%, 7% | HSV: 253°, 18%, 93%. Copy any format from the conversion table above.
What colors go well with #CCC3EE?
The complementary color is HSL(72, 56%, 85%). 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, 56%, 85%) in CSS?
As HSL: color: hsl(252, 56%, 85%); — As HEX: color: #CCC3EE; — As RGB: color: rgb(204, 195, 238); — Tailwind CSS: bg-[hsl(252,56%,85%)] — CSS variable: --color-primary: hsl(252, 56%, 85%);