Toolman

#D1D5DB color

#D1D5DB#D1D5DB

The swatch above shows #D1D5DB with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#D1D5DB is a very light, muted blue, closest to the CSS named color lightgray (#D3D3D3).

It is also a Tailwind CSS default: gray-300. That means you can write bg-gray-300 or text-gray-300 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#D1D5DB
RGBrgb(209, 213, 219)
HSLhsl(216, 12%, 84%)
CMYKcmyk(5%, 3%, 0%, 14%)
Decimal13751771
CSScolor: #D1D5DB;
Android0xFFD1D5DB
SwiftUIColor(red: 0.820, green: 0.835, blue: 0.859, alpha: 1)

Accessibility and contrast

White text on #D1D5DB1.47:1 — AA fail · AA large fail · AAA fail
Black text on #D1D5DB14.25:1 — AA pass · AA large pass · AAA pass
Recommended text colorblack

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #D1D5DB

Each swatch keeps the hue and saturation of #D1D5DB and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #D1D5DB

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #D1D5DB in code

/* CSS */
.element { color: #D1D5DB; background-color: #D1D5DB; }
.element { color: rgb(209 213 219); }
.element { color: hsl(216 12% 84%); }

/* Tailwind */
<div class="bg-gray-300 text-black">

/* SCSS variable */
$brand: #D1D5DB;

Frequently asked questions

What color is #D1D5DB?

#D1D5DB is a very light, muted blue. Its hue sits at 216° on the color wheel, with 12% saturation and 84% lightness.

What is #D1D5DB in RGB?

#D1D5DB converts to rgb(209, 213, 219) — 209 red, 213 green and 219 blue.

What is #D1D5DB in CMYK?

Approximately cmyk(5%, 3%, 0%, 14%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #D1D5DB be white or black?

Black gives the better contrast ratio (14.25:1 versus 1.47:1).

What is the complementary color of #D1D5DB?

#DBD7D1 — the hue directly opposite #D1D5DB on the color wheel.

Convert any color → · Browse all colors