#1A2128 Hex Color

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

Hex color #1a2128 graphic
This dark, dusty blue leans heavily into grey, feeling serious and grounded. Because of its extreme depth, #1a2128 functions best as a dominant dark mode background rather than small text. It pairs exceptionally well with muted sage greens or sharp off-whites for high-contrast UI. Use this hex code when you need an authoritative base that avoids the harshness of pure black.

Questions about #1a2128

What is #1a2128 in RGB, HSL and CMYK?
In RGB, #1a2128 is rgb(26, 33, 40), in HSL hsl(210, 21%, 13%) and in CMYK 35%, 18%, 0%, 84%.
Is #1a2128 a better choice than pure black for dark mode designs?
#1a2128 is significantly easier on the eyes than pure black because it introduces a subtle blue-grey depth that feels less harsh on screens. This color reduces eye strain while maintaining a high-contrast foundation for your UI.
Which accent colors pair best with #1a2128?
This deep shade creates a balanced, sophisticated palette when paired with soft, muted sage greens or sharp, clean off-white text. These combinations avoid the visual fatigue often caused by high-contrast pairings against stark white backgrounds.
Is #1a2128 readable on white or black?
#1a2128 has a 16.25:1 contrast ratio on white and 1.29: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.