#031A2B Hex Color

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

Hex color #031a2b graphic
This near-black navy sits between deep blue and charcoal, offering a moody alternative to standard dark backgrounds. Because it is highly desaturated, #031a2b provides a stable foundation for UI designs or professional branding that requires a sense of authority. It pairs exceptionally well with muted copper or soft sage accents to break up the intense shadows. White text remains legible at small sizes on this hex code.

Questions about #031a2b

What is #031a2b in RGB, HSL and CMYK?
In RGB, #031a2b is rgb(3, 26, 43), in HSL hsl(206, 87%, 9%) and in CMYK 93%, 40%, 0%, 83%. Browse more shades of blue with names and hex codes.
What colors pair best with #031a2b for UI design?
#031a2b works best when paired with muted earthy tones like copper or sage to break up its intensity. These softer accents prevent the near-black navy from feeling too heavy while maintaining a professional, high-contrast look suitable for modern interface designs.
Is #031a2b suitable for small text on websites?
Yes, #031a2b provides excellent contrast against white or very light gray text, making it a reliable choice for readable small typography. Because it is so desaturated and dark, it functions as a more interesting alternative to pure black while maintaining perfect accessibility standards.
Is #031a2b readable on white or black?
#031a2b has a 17.69:1 contrast ratio on white and 1.18: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.