#27272A — Tints, Shades & Color Values
#27272A is a very dark, nearly neutral gray. In Tailwind CSS this exact color is the utility class zinc-800 (e.g. bg-zinc-800, text-zinc-800). Its nearest CSS named color is darkslategray (#2f4f4f). For readable text on a #27272A background, white text gives the strongest contrast (14.89:1). Because it is dark, #27272A suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.
Color Values
| Hex | #27272A |
|---|---|
| RGB | rgb(39, 39, 42) |
| HSL | hsl(240, 4%, 16%) |
| HSV / HSB | 240°, 7%, 16% |
| Nearest named | darkslategray (#2f4f4f) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#27272A in Tailwind CSS (zinc-800)
#27272A ships with Tailwind CSS as zinc-800 — use it as bg-zinc-800, text-zinc-800, or border-zinc-800. It sits at step 800 of the zinc 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 #27272A (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
#3d3d3f -
20% tint
#525255 -
30% tint
#68686a -
40% tint
#7d7d7f -
50% tint
#939395 -
60% tint
#a9a9aa -
70% tint
#bebebf -
80% tint
#d4d4d4 -
90% tint
#e9e9ea
Shades of #27272A (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#232326 -
20% shade
#1f1f22 -
30% shade
#1b1b1d -
40% shade
#171719 -
50% shade
#141415 -
60% shade
#101011 -
70% shade
#0c0c0d -
80% shade
#080808 -
90% shade
#040404
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #27272A 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 14.89:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
|---|---|
| Black text 1.41: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 #27272A from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More gray colors in the library: #292524 (stone-800), #333333, #404040 (neutral-700), #44403C (stone-700), #525252 (neutral-600), #57534E (stone-600).
Frequently Asked Questions
-
What color is #27272A?
#27272A is a very dark, nearly neutral gray —
rgb(39, 39, 42). Its nearest CSS named color isdarkslategray. In Tailwind CSS it iszinc-800. -
How do I make tints and shades of #27272A?
Mix #27272A with white for tints and with black for shades. A 20% tint of #27272A is
#525255and a 20% shade is#1f1f22— the full 10%–90% ramps are precomputed on this page, or open #27272A in the generator for finer steps. -
What text color is readable on #27272A?
White text gives the strongest contrast on a #27272A background at 14.89:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #27272A?
zinc-800— use it asbg-zinc-800,text-zinc-800, orborder-zinc-800. The full zinc 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#27272A? Put it on a free link-in-bio page →