#171717 — Tints, Shades & Color Values
#171717 is a very dark, nearly neutral near-black neutral. In Tailwind CSS this exact color is the utility class neutral-900 (e.g. bg-neutral-900, text-neutral-900). Its nearest CSS named color is black (#000000). For readable text on a #171717 background, white text gives the strongest contrast (17.93:1). Because it is dark, #171717 suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.
Color Values
| Hex | #171717 |
|---|---|
| RGB | rgb(23, 23, 23) |
| HSL | hsl(0, 0%, 9%) |
| HSV / HSB | 0°, 0%, 9% |
| Nearest named | black (#000000) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#171717 in Tailwind CSS (neutral-900)
#171717 ships with Tailwind CSS as neutral-900 — use it as bg-neutral-900, text-neutral-900, or border-neutral-900. It sits at step 900 of the neutral 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 #171717 (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
#2e2e2e -
20% tint
#454545 -
30% tint
#5d5d5d -
40% tint
#747474 -
50% tint
#8b8b8b -
60% tint
#a2a2a2 -
70% tint
#b9b9b9 -
80% tint
#d1d1d1 -
90% tint
#e8e8e8
Shades of #171717 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#151515 -
20% shade
#121212 -
30% shade
#101010 -
40% shade
#0e0e0e -
50% shade
#0c0c0c -
60% shade
#090909 -
70% shade
#070707 -
80% shade
#050505 -
90% shade
#020202
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #171717 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 17.93:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
|---|---|
| Black text 1.17:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
If neither pure white nor pure black reaches the level you need, pick a lighter tint of #171717 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More near-black neutral colors in the library: #18181B (zinc-900).
Frequently Asked Questions
-
What color is #171717?
#171717 is a very dark, nearly neutral near-black neutral —
rgb(23, 23, 23). Its nearest CSS named color isblack. In Tailwind CSS it isneutral-900. -
How do I make tints and shades of #171717?
Mix #171717 with white for tints and with black for shades. A 20% tint of #171717 is
#454545and a 20% shade is#121212— the full 10%–90% ramps are precomputed on this page, or open #171717 in the generator for finer steps. -
What text color is readable on #171717?
White text gives the strongest contrast on a #171717 background at 17.93:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #171717?
neutral-900— use it asbg-neutral-900,text-neutral-900, orborder-neutral-900. The full neutral 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#171717? Put it on a free link-in-bio page →