HSL(252, 14%, 81%)
Grayish Blue — Blue color
Adjust Color
Color Information
Color Name
Grayish Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(252,14%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 14%, 81%) | color: hsl(252, 14%, 81%) | |
| HEX | #CAC8D5 | color: #CAC8D5 | |
| RGB | rgb(202, 200, 213) | color: rgb(202, 200, 213) | |
| CMYK | cmyk(5%, 6%, 0%, 16%) | — | |
| HSV | hsv(249, 6%, 84%) | — | |
| HWB | hwb(249 79% 16%) | color: hwb(249 79% 16%) | |
| OKLCH | oklch(0.8383 0.018 293.08) | color: oklch(0.8383 0.018 293.08) | |
| Lab | lab(81.11 3.12 -6.21) | color: lab(81.11 3.12 -6.21) | |
| LCH | lch(81.11 6.95 296.68) | color: lch(81.11 6.95 296.68) |
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)
#C9C9D2 — rgb(201, 201, 210)
Deuteranopia (Green-blind)
#C9C9D1 — rgb(201, 201, 209)
Tritanopia (Blue-blind)
#CACFCF — rgb(202, 207, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 14%, 81%);
text
color: hsl(252, 14%, 81%);
border
border: 2px solid hsl(252, 14%, 81%);
gradient light
background: linear-gradient(to right, hsl(252, 14%, 100%), hsl(252, 14%, 81%));
gradient dark
background: linear-gradient(to right, hsl(252, 14%, 81%), hsl(252, 14%, 61%))
hex
background-color: #CAC8D5;
tailwind
bg-[hsl(252,14%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 14%, 81%, 0.4);
css variable
--color-primary: hsl(252, 14%, 81%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 14%, 81%)?
HEX: #CAC8D5 | RGB: rgb(202, 200, 213) | CMYK: 5%, 6%, 0%, 16% | HSV: 249°, 6%, 84%. Copy any format from the conversion table above.
What colors go well with #CAC8D5?
The complementary color is HSL(72, 14%, 81%). 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, 14%, 81%) in CSS?
As HSL: color: hsl(252, 14%, 81%); — As HEX: color: #CAC8D5; — As RGB: color: rgb(202, 200, 213); — Tailwind CSS: bg-[hsl(252,14%,81%)] — CSS variable: --color-primary: hsl(252, 14%, 81%);