#040440 Hex Color

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

Hex color #040440 graphic
This near-black navy is defined by its extreme darkness and lack of saturation. Because it sits so close to black, #040440 works best as a moody background or a dominant base for corporate tech interfaces. It provides a stable foundation for white text, offering high contrast that remains easy to read. Pair it with muted gold accents rather than standard white to soften its formal, authoritative edge.

Questions about #040440

What is #040440 in RGB, HSL and CMYK?
In RGB, #040440 is rgb(4, 4, 64), in HSL hsl(240, 88%, 13%) and in CMYK 94%, 94%, 0%, 75%.
Does #040440 work well as a primary background color?
#040440 functions exceptionally well as a primary background because it offers a softer, more professional alternative to absolute black. It provides superior contrast for white or light-colored text while maintaining a clean, modern aesthetic for technology-focused websites.
What colors pair best with #040440?
This deep navy looks best when paired with muted metallics like gold or silver to soften its intensity. For a more balanced, high-contrast interface, consider using crisp white or light gray elements to ensure text remains highly legible.
Is #040440 readable on white or black?
#040440 has a 19.15:1 contrast ratio on white and 1.09: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.