HSL(253, 40%, 84%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(253,40%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(253, 40%, 84%) | color: hsl(253, 40%, 84%) | |
| HEX | #CDC6E7 | color: #CDC6E7 | |
| RGB | rgb(205, 198, 231) | color: rgb(205, 198, 231) | |
| CMYK | cmyk(11%, 14%, 0%, 9%) | — | |
| HSV | hsv(253, 14%, 91%) | — | |
| HWB | hwb(253 78% 9%) | color: hwb(253 78% 9%) | |
| OKLCH | oklch(0.8426 0.0461 295.12) | color: oklch(0.8426 0.0461 295.12) | |
| Lab | lab(81.37 8.74 -15.45) | color: lab(81.37 8.74 -15.45) | |
| LCH | lch(81.37 17.75 299.5) | color: lch(81.37 17.75 299.5) |
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)
#CACADF — rgb(202, 202, 223)
Deuteranopia (Green-blind)
#CACBDD — rgb(202, 203, 221)
Tritanopia (Blue-blind)
#CDD9D7 — rgb(205, 217, 215)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(253, 40%, 84%);
text
color: hsl(253, 40%, 84%);
border
border: 2px solid hsl(253, 40%, 84%);
gradient light
background: linear-gradient(to right, hsl(253, 40%, 100%), hsl(253, 40%, 84%));
gradient dark
background: linear-gradient(to right, hsl(253, 40%, 84%), hsl(253, 40%, 64%))
hex
background-color: #CDC6E7;
tailwind
bg-[hsl(253,40%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(253, 40%, 84%, 0.4);
css variable
--color-primary: hsl(253, 40%, 84%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(253, 40%, 84%)?
HEX: #CDC6E7 | RGB: rgb(205, 198, 231) | CMYK: 11%, 14%, 0%, 9% | HSV: 253°, 14%, 91%. Copy any format from the conversion table above.
What colors go well with #CDC6E7?
The complementary color is HSL(73, 40%, 84%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(253, 40%, 84%) in CSS?
As HSL: color: hsl(253, 40%, 84%); — As HEX: color: #CDC6E7; — As RGB: color: rgb(205, 198, 231); — Tailwind CSS: bg-[hsl(253,40%,84%)] — CSS variable: --color-primary: hsl(253, 40%, 84%);