#21262E Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#21262e is a desaturated, near-black blue that functions as a serious, moody alternative to standard charcoal. Its low chroma creates a sense of depth, making it a reliable base for dark mode UI or corporate branding. Because white text offers excellent 15.2:1 contrast against it, readability remains high. The hex code for this dim, ashy shade is #21262e.
Questions about #21262e
What is #21262e in RGB, HSL and CMYK?
In RGB, #21262e is rgb(33, 38, 46), in HSL hsl(217, 16%, 15%) and in CMYK 28%, 17%, 0%, 82%. Browse more shades of black with names and hex codes.
Is #21262e suitable for text backgrounds?
#21262e is an excellent choice for dark mode UI backgrounds because it provides a 15.2:1 contrast ratio against white text. This high readability ensures that your content remains accessible while maintaining a softer, less aggressive appearance than pure black.
How does #21262e compare to standard charcoal?
#21262e functions as a deeper, more refined alternative to standard charcoal by introducing subtle blue undertones. It avoids the flat, dusty look of traditional grays, making it a stronger choice for branding that requires a modern, tech-focused aesthetic.
Is #21262e readable on white or black?
#21262e has a 15.20:1 contrast ratio on white and 1.38: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.