HSL(218, 30%, 85%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(218,30%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(218, 30%, 85%) color: hsl(218, 30%, 85%)
HEX #CDD6E4 color: #CDD6E4
RGB rgb(205, 214, 228) color: rgb(205, 214, 228)
CMYK cmyk(10%, 6%, 0%, 11%)
HSV hsv(217, 10%, 89%)
HWB hwb(217 80% 11%) color: hwb(217 80% 11%)
OKLCH oklch(0.8734 0.0217 259.19) color: oklch(0.8734 0.0217 259.19)
Lab lab(85.34 -0.34 -7.92) color: lab(85.34 -0.34 -7.92)
LCH lch(85.34 7.93 267.54) color: lch(85.34 7.93 267.54)

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.46:1
vs Black 14.33: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)

#D1D1E1 — rgb(209, 209, 225)

Deuteranopia (Green-blind)

#D0D0E0 — rgb(208, 208, 224)

Tritanopia (Blue-blind)

#CDDEDD — rgb(205, 222, 221)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(218, 30%, 85%);

text

color: hsl(218, 30%, 85%);

border

border: 2px solid hsl(218, 30%, 85%);

gradient light

background: linear-gradient(to right, hsl(218, 30%, 100%), hsl(218, 30%, 85%));

gradient dark

background: linear-gradient(to right, hsl(218, 30%, 85%), hsl(218, 30%, 65%))

hex

background-color: #CDD6E4;

tailwind

bg-[hsl(218,30%,85%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(218, 30%, 85%, 0.4);

css variable

--color-primary: hsl(218, 30%, 85%);

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(218, 30%, 85%)?

HEX: #CDD6E4 | RGB: rgb(205, 214, 228) | CMYK: 10%, 6%, 0%, 11% | HSV: 217°, 10%, 89%. Copy any format from the conversion table above.

What colors go well with #CDD6E4?

The complementary color is HSL(38, 30%, 85%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(218, 30%, 85%) in CSS?

As HSL: color: hsl(218, 30%, 85%); — As HEX: color: #CDD6E4; — As RGB: color: rgb(205, 214, 228); — Tailwind CSS: bg-[hsl(218,30%,85%)] — CSS variable: --color-primary: hsl(218, 30%, 85%);