HSL(237, 5%, 85%)

Grayish White — White color

Adjust Color

Color Information

Color Name

Grayish White

Color Family

White

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(237,5%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(237, 5%, 85%) color: hsl(237, 5%, 85%)
HEX #D7D7DB color: #D7D7DB
RGB rgb(215, 215, 219) color: rgb(215, 215, 219)
CMYK cmyk(2%, 2%, 0%, 14%)
HSV hsv(240, 2%, 86%)
HWB hwb(240 84% 14%) color: hwb(240 84% 14%)
OKLCH oklch(0.8803 0.0054 286.29) color: oklch(0.8803 0.0054 286.29)
Lab lab(86.09 0.73 -1.96) color: lab(86.09 0.73 -1.96)
LCH lch(86.09 2.09 290.43) color: lch(86.09 2.09 290.43)

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.44:1
vs Black 14.63: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)

#D7D7DA — rgb(215, 215, 218)

Deuteranopia (Green-blind)

#D7D7DA — rgb(215, 215, 218)

Tritanopia (Blue-blind)

#D7D9D9 — rgb(215, 217, 217)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(237, 5%, 85%);

text

color: hsl(237, 5%, 85%);

border

border: 2px solid hsl(237, 5%, 85%);

gradient light

background: linear-gradient(to right, hsl(237, 5%, 100%), hsl(237, 5%, 85%));

gradient dark

background: linear-gradient(to right, hsl(237, 5%, 85%), hsl(237, 5%, 65%))

hex

background-color: #D7D7DB;

tailwind

bg-[hsl(237,5%,85%)]

box shadow

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

css variable

--color-primary: hsl(237, 5%, 85%);

Related Colors

Use Cases for Grayish White

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(237, 5%, 85%)?

HEX: #D7D7DB | RGB: rgb(215, 215, 219) | CMYK: 2%, 2%, 0%, 14% | HSV: 240°, 2%, 86%. Copy any format from the conversion table above.

What colors go well with #D7D7DB?

The complementary color is HSL(57, 5%, 85%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(237, 5%, 85%) in CSS?

As HSL: color: hsl(237, 5%, 85%); — As HEX: color: #D7D7DB; — As RGB: color: rgb(215, 215, 219); — Tailwind CSS: bg-[hsl(237,5%,85%)] — CSS variable: --color-primary: hsl(237, 5%, 85%);