#262626 — Tints, Shades & Color Values

#262626

#262626 is a very dark, nearly neutral near-black neutral. In Tailwind CSS this exact color is the utility class neutral-800 (e.g. bg-neutral-800, text-neutral-800). Its nearest CSS named color is darkslategray (#2f4f4f). For readable text on a #262626 background, white text gives the strongest contrast (15.13:1). Because it is dark, #262626 suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.

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

Color Values

Hex#262626
RGBrgb(38, 38, 38)
HSLhsl(0, 0%, 15%)
HSV / HSB0°, 0%, 15%
Nearest nameddarkslategray (#2f4f4f)

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

#262626 in Tailwind CSS (neutral-800)

#262626 ships with Tailwind CSS as neutral-800 — use it as bg-neutral-800, text-neutral-800, or border-neutral-800. It sits at step 800 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 #262626 (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 #262626 (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 #262626 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 15.13:1 — AA normal: Pass · AA large: Pass · AAA: Pass
Black text 1.39: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 #262626 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

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

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