#1E2E40 Hex Color

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

Hex color #1e2e40 graphic
#1e2e40 is a dark, muted blue with ashy gray undertones and a matte, inky finish. Its low saturation gives designs a serious, controlled mood suited to security, finance, technology, and government. Use it as a supporting tone or dark UI background, where white text reaches about 13.8:1 contrast. The hex code is #1e2e40.

Questions about #1e2e40

What is #1e2e40 in RGB, HSL and CMYK?
In RGB, #1e2e40 is rgb(30, 46, 64), in HSL hsl(212, 36%, 18%) and in CMYK 53%, 28%, 0%, 75%.
What colors pair well with #1e2e40?
#1e2e40 pairs well with burgundy, muted terracotta, and soft gray, which add warmth or texture without overpowering its restrained blue base. Use pale neutrals for spacious layouts, or reserve warmer tones for small accents and calls to action.
Is #1e2e40 suitable for text and UI backgrounds?
Yes, #1e2e40 works well as a dark background because white text has about 13.8:1 contrast, exceeding WCAG AA's 4.5:1 requirement for body text. Check lighter colored text and thin icons separately.
Is #1e2e40 readable on white or black?
#1e2e40 has a 13.81:1 contrast ratio on white and 1.52: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.