#040907 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#040907 is a near-black shade with subtle, dusty undertones that provide a softer alternative to pure black. This hex code works best as a moody UI background, offering high contrast for white typography. Because it lacks the starkness of true black, it feels more approachable for premium editorial branding and high-end print design while maintaining an air of authority.
Questions about #040907
What is #040907 in RGB, HSL and CMYK?
In RGB, #040907 is rgb(4, 9, 7), in HSL hsl(156, 38%, 3%) and in CMYK 56%, 0%, 22%, 96%. Browse more shades of black with names and hex codes.
Is #040907 better for UI design than pure black?
#040907 is often superior to pure black for user interfaces because it reduces harsh visual strain while still providing high contrast against white text. The slight dusty undertones make it feel sophisticated and organic, grounding digital layouts without appearing flat.
What colors pair well with #040907 for branding?
Is #040907 readable on white or black?
#040907 has a 20.05:1 contrast ratio on white and 1.04: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.