#051F4A Hex Color

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

Hex color #051f4a graphic
#051f4a is a dense, near-black navy with high saturation and a commanding presence. It acts as a grounded alternative to pure black, offering better readability for small white text in dark mode interfaces. Because of its weight, use this hex code as a base color for corporate branding or expansive UI backgrounds. It looks especially sharp when paired with soft, muted grays or creams.

Questions about #051f4a

What is #051f4a in RGB, HSL and CMYK?
In RGB, #051f4a is rgb(5, 31, 74), in HSL hsl(217, 87%, 15%) and in CMYK 93%, 58%, 0%, 71%. Browse more shades of blue with names and hex codes.
How should I use #051f4a in web design?
#051f4a works best as a primary background color for modern dark mode interfaces where you need a softer alternative to absolute black. It maintains high contrast with white typography while feeling more premium and less harsh than standard black.
What colors pair well with #051f4a?
This deep navy anchors designs beautifully when paired with cream or soft gray accents for a balanced, high-end look. Avoid pairing it with other dark, highly saturated colors to ensure the text remains legible and the overall palette stays visually clean.
Is #051f4a readable on white or black?
#051f4a has a 16.13:1 contrast ratio on white and 1.30: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.