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

This near-black navy is a grounded, serious tone with a cool, muted character. Because it sits so low on the lightness scale, #051a45 works best as a primary background color for modern, high-contrast dark mode interfaces. White text pops perfectly against its surface, providing excellent readability. It reads as authoritative and stable, making it a reliable choice for professional branding or security-focused UI design.
Questions about #051a45
What is #051a45 in RGB, HSL and CMYK?
In RGB, #051a45 is rgb(5, 26, 69), in HSL hsl(220, 86%, 15%) and in CMYK 93%, 62%, 0%, 73%. Browse more shades of blue with names and hex codes.
Does #051a45 work well as a main background color?
Yes, #051a45 excels as a background because its deep, near-black nature provides excellent readability for white or high-contrast typography. It functions as a sophisticated alternative to pure black in interface design, reducing eye strain while maintaining a professional and stable visual hierarchy.
Is #051a45 readable on white or black?
#051a45 has a 16.93: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.