Anthracite

Serious near-black for sophisticated modern interfaces

Anthracite color codes graphic
Anthracite is a dim, near-black grey with almost no chroma. It provides a serious, muted foundation that works better for interface backgrounds than stark, pure black. Because it offers high readability for white text, this hex code #28282d excels in dark mode typography. Pair it with soft, desaturated accent colors to maintain a clean, sophisticated aesthetic without the visual intensity of absolute black.

Questions about Anthracite

What is the hex code for Anthracite?
Anthracite is #28282d. In RGB that is rgb(40, 40, 45), in HSL hsl(240, 6%, 17%) and in CMYK 11%, 11%, 0%, 82%. Browse more shades of black with names and hex codes.
Is #28282d better than pure black for website backgrounds?
Yes, #28282d creates a more comfortable viewing experience by reducing visual fatigue and eye strain during extended use. Unlike absolute black, which can create harsh contrast against white text, this charcoal grey maintains readability while feeling far more natural and sophisticated.
What colors pair best with #28282d in a UI design?
Soft, desaturated colors work best to maintain the serious, high-end aesthetic of #28282d without clashing. Try pairing it with a muted sage for a professional accent or a dusty blue to create a calm, cohesive environment that feels intentional.
Is Anthracite readable on white or black?
Anthracite has a 14.66:1 contrast ratio on white and 1.43:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.