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

This near-black navy is defined by its extreme darkness and low saturation. Because it sits so close to black, #051139 works best as a moody, grounding base in dark mode UI designs rather than for fine text. It offers excellent legibility for white type, providing a high-contrast alternative to standard black backgrounds in corporate or security-focused applications.
Questions about #051139
What is #051139 in RGB, HSL and CMYK?
In RGB, #051139 is rgb(5, 17, 57), in HSL hsl(226, 84%, 12%) and in CMYK 91%, 70%, 0%, 78%. Browse more shades of black with names and hex codes.
How should #051139 be used in UI design?
Use #051139 as a sophisticated alternative to standard black backgrounds in high-contrast dark mode interfaces. Its near-black navy depth provides excellent legibility for white or light-colored text while maintaining a modern, premium corporate aesthetic without the harshness of pure black.
Is #051139 readable on white or black?
#051139 has a 18.32:1 contrast ratio on white and 1.14: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.