#021A40 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This extremely dark, desaturated navy acts as a heavy anchor for professional branding or corporate UI. Because it is so dim, #021a40 works best as a dominant background color rather than fine detail. Pair it with soft cream or muted gold instead of pure white to avoid a harsh, jarring contrast. The hex code for this serious, muted blue is #021a40.
Questions about #021a40
What is #021a40 in RGB, HSL and CMYK?
In RGB, #021a40 is rgb(2, 26, 64), in HSL hsl(217, 94%, 13%) and in CMYK 97%, 59%, 0%, 75%.
How can I pair #021a40 without it feeling too harsh?
Avoid using pure white text against #021a40, as the extreme contrast can cause eye strain. Instead, pair this deep navy with soft cream or muted gold to maintain readability while keeping the aesthetic sophisticated and gentle.
Is #021a40 suitable for large background areas?
Because #021a40 is extremely dark and desaturated, it functions excellently as a dominant background color that grounds a composition. It is particularly effective in corporate UI design where you need to establish a serious, high-authority visual tone.
Is #021a40 readable on white or black?
#021a40 has a 17.15:1 contrast ratio on white and 1.22: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.