#D1D5DB — Tints, Shades & Color Values

#D1D5DB

#D1D5DB is a light, muted blue. In Tailwind CSS this exact color is the utility class gray-300 (e.g. bg-gray-300, text-gray-300). Its nearest CSS named color is lightgray (#d3d3d3). For readable text on a #D1D5DB background, black text gives the strongest contrast (14.25:1). Because it is so light, #D1D5DB works best as a background or surface color paired with dark text, or as a high-percentage tint in an existing palette.

Want to fine-tune this color interactively? Open #D1D5DB in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#D1D5DB
RGBrgb(209, 213, 219)
HSLhsl(216, 12%, 84%)
HSV / HSB216°, 5%, 86%
Nearest namedlightgray (#d3d3d3)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

#D1D5DB in Tailwind CSS (gray-300)

#D1D5DB ships with Tailwind CSS as gray-300 — use it as bg-gray-300, text-gray-300, or border-gray-300. It sits at step 300 of the gray ramp; every other step links to its own page:

Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.

Tints of #D1D5DB (Mixed with White)

Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.

Shades of #D1D5DB (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

WCAG Contrast & Accessibility

Contrast ratios for text placed on a #D1D5DB background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).

Text color White text 1.47:1 — AA normal: Fail · AA large: Fail · AAA: Fail
Black text 14.25:1 — AA normal: Pass · AA large: Pass · AAA: Pass

If neither pure white nor pure black reaches the level you need, pick a darker shade of #D1D5DB from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.

More blue colors in the library: #CBD5E1 (slate-300), #A5B4FC (indigo-300), #BAE6FD (sky-200), #BFDBFE (blue-200), #C7D2FE (indigo-200), #93C5FD (blue-300).

Frequently Asked Questions

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #D1D5DB? Put it on a free link-in-bio page →