#051F38 Hex Color

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

Hex color #051f38 graphic
Deep, ashy navy with very little saturation. #051f38 works best as a dominant background in dark mode interfaces and formal branding, where its low lightness reads steady rather than loud. The hex code also gives white text about 16.7:1 contrast, so small type stays readable. Pair it with warm brass or muted gold to keep the cool base from turning flat.

Questions about #051f38

What is #051f38 in RGB, HSL and CMYK?
In RGB, #051f38 is rgb(5, 31, 56), in HSL hsl(209, 84%, 12%) and in CMYK 91%, 45%, 0%, 78%. Browse more shades of blue with names and hex codes.
What colors pair well with #051f38?
Warm metallics like gold and brass balance its cool, muted base, while burgundy adds richness without clashing. Avoid dull grays right next to it, since both colors go muddy.
Is #051f38 readable on white or black?
#051f38 has a 16.67:1 contrast ratio on white and 1.25: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.