#1A1D21 Hex Color

Sophisticated near-black for dark mode interfaces

Hex color #1a1d21 graphic
This near-black grey serves as a sophisticated anchor for dark mode UI designs. Its low light value provides excellent contrast for white text, which remains highly readable against this surface. Pair #1a1d21 with muted teals or soft oranges to avoid a flat appearance. Because it is so neutral and dark, use it as a primary background rather than a small accent for the best visual impact.

Questions about #1a1d21

What is #1a1d21 in RGB, HSL and CMYK?
In RGB, #1a1d21 is rgb(26, 29, 33), in HSL hsl(214, 12%, 12%) and in CMYK 21%, 12%, 0%, 87%.
What colors pair effectively with #1a1d21 in design?
#1a1d21 works best when contrasted with muted teals or soft oranges to prevent the interface from appearing too flat or sterile. Because this shade acts as a neutral anchor, it also supports bright accent colors, ensuring your call-to-action elements stand out clearly.
Is #1a1d21 suitable for text-heavy dark mode backgrounds?
Yes, #1a1d21 provides a softer, less aggressive alternative to pure black backgrounds while still offering sufficient contrast for white or light grey text. It is widely favored in UI design because it reduces eye strain during prolonged screen exposure.
Is #1a1d21 readable on white or black?
#1a1d21 has a 16.91:1 contrast ratio on white and 1.24: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.