#24282B Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #24282b graphic
This dark, charcoal-leaning grey is matte and heavy with a cool, slightly blue-tinted undertone. Because it sits at the edge of black, #24282b provides a grounded, stable base for high-contrast UI elements. It supports white text with a 14.9:1 contrast ratio, making it an excellent alternative to pure black for dark mode backgrounds. Use this hex code to anchor complex designs without the starkness of solid black.

Questions about #24282b

What is #24282b in RGB, HSL and CMYK?
In RGB, #24282b is rgb(36, 40, 43), in HSL hsl(206, 9%, 15%) and in CMYK 16%, 7%, 0%, 83%. Browse more shades of black with names and hex codes.
Is #24282b a better choice than pure black for website backgrounds?
Yes, #24282b is generally preferred for UI backgrounds because it reduces eye strain and provides a softer contrast against white text than pure black. It offers a sophisticated, modern feel that feels less harsh while maintaining deep, grounded stability.
What colors pair best with #24282b for a balanced palette?
Because #24282b is a neutral, cool-leaning charcoal, it works beautifully with crisp whites or very light greys for maximum readability. It also pairs well with muted, desaturated tones like sage or soft blues to emphasize its cool undertones.
Is #24282b readable on white or black?
#24282b has a 14.85:1 contrast ratio on white and 1.41: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.