#051E2A Hex Color

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

Hex color #051e2a graphic
This dark, dusty blue leans heavily into shadowy territory with its low saturation and murky undertones. Because it offers a massive 17.1:1 contrast ratio against white, #051e2a serves as an excellent base for clean, readable UI text. It provides a serious, grounded foundation for tech or financial branding, though you should pair it with bright, muted accent colors to prevent it from feeling too heavy.

Questions about #051e2a

What is #051e2a in RGB, HSL and CMYK?
In RGB, #051e2a is rgb(5, 30, 42), in HSL hsl(199, 79%, 9%) and in CMYK 88%, 29%, 0%, 84%. Browse more shades of black with names and hex codes.
Does #051e2a work well for UI text?
Yes, #051e2a is an excellent choice for body text or headers because it provides a massive 17.1:1 contrast ratio against white backgrounds. It offers a softer, more sophisticated alternative to pure black while maintaining perfect readability for digital interfaces.
What colors pair best with #051e2a?
To prevent #051e2a from feeling too heavy, pair it with bright, muted accent colors such as a soft cream or a vibrant teal. These lighter tones balance the deep, shadowy nature of this blue without losing its professional, grounded aesthetic.
Is #051e2a readable on white or black?
#051e2a has a 17.13:1 contrast ratio on white and 1.22: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.