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

This near-black tone carries a heavy, somber character that works well for premium branding and editorial layouts. The hex code #04091f offers exceptional contrast with white text, maintaining a 19.7:1 ratio for perfect readability. Use this color as a dominant background instead of pure black to soften moody interfaces while keeping a sharp, serious aesthetic. It pairs best with metallic accents or muted pastels.
Questions about #04091f
What is #04091f in RGB, HSL and CMYK?
In RGB, #04091f is rgb(4, 9, 31), in HSL hsl(229, 77%, 7%) and in CMYK 87%, 71%, 0%, 88%. Browse more shades of black with names and hex codes.
How does #04091f compare to standard pure black?
#04091f contains subtle blue undertones that make it feel less harsh and more organic than pure black. This slight shift provides a softer visual experience while maintaining the high-contrast aesthetic required for modern, serious interface designs.
What colors pair best with #04091f for UI design?
Because #04091f acts as a neutral base, it pairs exceptionally well with muted pastels or sharp metallic accents. Using it alongside soft cream or silver text creates a professional, high-end look that remains readable and accessible for users.
Is #04091f readable on white or black?
#04091f has a 19.73:1 contrast ratio on white and 1.06: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.