#28262B Hex Color

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

Hex color #28262b graphic
This near-black charcoal grey is muted, matte, and intensely dark. It acts as a professional, neutral foundation for interfaces, providing significant contrast that makes white text highly readable. Because #28262b lacks warmth, it works best alongside cooler tones rather than earthy ones. Use this hex code as a background anchor in dark mode designs to avoid the harshness of pure black.

Questions about #28262b

What is #28262b in RGB, HSL and CMYK?
In RGB, #28262b is rgb(40, 38, 43), in HSL hsl(264, 6%, 16%) and in CMYK 7%, 12%, 0%, 83%. Browse more shades of black with names and hex codes.
Is #28262b a better background choice than pure black?
#28262b is often preferred in UI design because it reduces eye strain and provides a less harsh, more sophisticated appearance than absolute black. It maintains high readability for white text while feeling more integrated and natural on modern digital screens.
Which color palettes pair well with #28262b?
This color pairs beautifully with cool, muted tones like steel blue or cool silver to emphasize its lack of warmth. Avoid pairing it with warm, earthy tones like terracotta, which can clash with the cool, matte character of this specific charcoal shade.
Is #28262b readable on white or black?
#28262b has a 14.97:1 contrast ratio on white and 1.40: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.