HSL(222, 17%, 85%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(222,17%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(222, 17%, 85%) color: hsl(222, 17%, 85%)
HEX #D2D6DF color: #D2D6DF
RGB rgb(210, 214, 223) color: rgb(210, 214, 223)
CMYK cmyk(6%, 4%, 0%, 13%)
HSV hsv(222, 6%, 87%)
HWB hwb(222 82% 13%) color: hwb(222 82% 13%)
OKLCH oklch(0.8757 0.0131 266.69) color: oklch(0.8757 0.0131 266.69)
Lab lab(85.57 0.33 -4.89) color: lab(85.57 0.33 -4.89)
LCH lch(85.57 4.9 273.86) color: lch(85.57 4.9 273.86)

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.42: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)

#D4D4DD — rgb(212, 212, 221)

Deuteranopia (Green-blind)

#D4D3DC — rgb(212, 211, 220)

Tritanopia (Blue-blind)

#D2DBDB — rgb(210, 219, 219)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(222, 17%, 85%);

text

color: hsl(222, 17%, 85%);

border

border: 2px solid hsl(222, 17%, 85%);

gradient light

background: linear-gradient(to right, hsl(222, 17%, 100%), hsl(222, 17%, 85%));

gradient dark

background: linear-gradient(to right, hsl(222, 17%, 85%), hsl(222, 17%, 65%))

hex

background-color: #D2D6DF;

tailwind

bg-[hsl(222,17%,85%)]

box shadow

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

css variable

--color-primary: hsl(222, 17%, 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(222, 17%, 85%)?

HEX: #D2D6DF | RGB: rgb(210, 214, 223) | CMYK: 6%, 4%, 0%, 13% | HSV: 222°, 6%, 87%. Copy any format from the conversion table above.

What colors go well with #D2D6DF?

The complementary color is HSL(42, 17%, 85%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(222, 17%, 85%) in CSS?

As HSL: color: hsl(222, 17%, 85%); — As HEX: color: #D2D6DF; — As RGB: color: rgb(210, 214, 223); — Tailwind CSS: bg-[hsl(222,17%,85%)] — CSS variable: --color-primary: hsl(222, 17%, 85%);