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

#012540 is a dim, unsaturated shade of blue that carries an air of professional authority. Because it is so dark, this hue works best as a primary background for high-contrast UI interfaces rather than fine detail. It pairs particularly well with muted metallics or crisp whites, which pop against its moody depth. The hex code for this stable, serious navy is #012540.
Questions about #012540
What is #012540 in RGB, HSL and CMYK?
In RGB, #012540 is rgb(1, 37, 64), in HSL hsl(206, 97%, 13%) and in CMYK 98%, 42%, 0%, 75%.
How should #012540 be used in UI design?
Use #012540 as a primary background color for clean, professional interfaces rather than for fine details or text. It provides a stable, moody foundation that makes white or light gray elements pop with high visual clarity.
Which colors pair well with #012540?
This deep blue works best when paired with high-contrast, lighter tones. It looks particularly sophisticated alongside muted metallic silvers or bright cream, which prevents the dark navy from feeling too heavy or overwhelming in a digital layout.
Is #012540 readable on white or black?
#012540 has a 15.67:1 contrast ratio on white and 1.33: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.