#1A1E21 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#1a1e21 is an extremely dark, desaturated grey that acts as a near-black alternative for modern interfaces. This color provides a solid, serious foundation for UI backgrounds without the harshness of pure black. Because it offers high contrast with white text, it remains readable at almost any size. Use the hex code #1a1e21 when you need a sophisticated, moody neutral to ground a professional design layout.
Questions about #1a1e21
What is #1a1e21 in RGB, HSL and CMYK?
In RGB, #1a1e21 is rgb(26, 30, 33), in HSL hsl(206, 12%, 12%) and in CMYK 21%, 9%, 0%, 87%.
Is #1a1e21 a better UI choice than pure black?
Using #1a1e21 prevents the harsh visual strain often caused by pure black backgrounds in digital interfaces. This softened tone maintains a high-contrast foundation that feels more intentional and sophisticated, effectively grounding your design elements while keeping white text legible and comfortable for extended reading.
Which color palettes work well with #1a1e21?
Is #1a1e21 readable on white or black?
#1a1e21 has a 16.77:1 contrast ratio on white and 1.25: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.