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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 1.61:1
vs Black 13.04:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Corporate branding Trust signals Tech products Social media Primary buttons

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%);