#D1D5DB — Tints, Shades & Color Values
#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.
Color Values
| Hex | #D1D5DB |
|---|---|
| RGB | rgb(209, 213, 219) |
| HSL | hsl(216, 12%, 84%) |
| HSV / HSB | 216°, 5%, 86% |
| Nearest named | lightgray (#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.
-
10% tint
#d6d9df -
20% tint
#dadde2 -
30% tint
#dfe2e6 -
40% tint
#e3e6e9 -
50% tint
#e8eaed -
60% tint
#edeef1 -
70% tint
#f1f2f4 -
80% tint
#f6f7f8 -
90% tint
#fafbfb
Shades of #D1D5DB (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#bcc0c5 -
20% shade
#a7aaaf -
30% shade
#929599 -
40% shade
#7d8083 -
50% shade
#696b6e -
60% shade
#545558 -
70% shade
#3f4042 -
80% shade
#2a2b2c -
90% shade
#151516
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
-
What color is #D1D5DB?
#D1D5DB is a light, muted blue —
rgb(209, 213, 219). Its nearest CSS named color islightgray. In Tailwind CSS it isgray-300. -
How do I make tints and shades of #D1D5DB?
Mix #D1D5DB with white for tints and with black for shades. A 20% tint of #D1D5DB is
#dadde2and a 20% shade is#a7aaaf— the full 10%–90% ramps are precomputed on this page, or open #D1D5DB in the generator for finer steps. -
What text color is readable on #D1D5DB?
Black text gives the strongest contrast on a #D1D5DB background at 14.25:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #D1D5DB?
gray-300— use it asbg-gray-300,text-gray-300, orborder-gray-300. The full gray 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#D1D5DB? Put it on a free link-in-bio page →