HSL(218, 10%, 85%)

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(218,10%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(218, 10%, 85%) color: hsl(218, 10%, 85%)
HEX #D5D8DD color: #D5D8DD
RGB rgb(213, 216, 221) color: rgb(213, 216, 221)
CMYK cmyk(4%, 2%, 0%, 13%)
HSV hsv(218, 4%, 87%)
HWB hwb(218 84% 13%) color: hwb(218 84% 13%)
OKLCH oklch(0.8814 0.0076 260.73) color: oklch(0.8814 0.0076 260.73)
Lab lab(86.24 -0.09 -2.81) color: lab(86.24 -0.09 -2.81)
LCH lch(86.24 2.81 268.17) color: lch(86.24 2.81 268.17)

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.43:1
vs Black 14.7: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)

#D6D6DC — rgb(214, 214, 220)

Deuteranopia (Green-blind)

#D6D6DC — rgb(214, 214, 220)

Tritanopia (Blue-blind)

#D5DBDB — rgb(213, 219, 219)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #D5D8DD;

tailwind

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

box shadow

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

css variable

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

Related Colors

Use Cases for Grayish Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(218, 10%, 85%)?

HEX: #D5D8DD | RGB: rgb(213, 216, 221) | CMYK: 4%, 2%, 0%, 13% | HSV: 218°, 4%, 87%. Copy any format from the conversion table above.

What colors go well with #D5D8DD?

The complementary color is HSL(38, 10%, 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, 10%, 85%) in CSS?

As HSL: color: hsl(218, 10%, 85%); — As HEX: color: #D5D8DD; — As RGB: color: rgb(213, 216, 221); — Tailwind CSS: bg-[hsl(218,10%,85%)] — CSS variable: --color-primary: hsl(218, 10%, 85%);