#04040C Hex Color

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

Hex color #04040c graphic
This near-black hue functions as an ultra-dark, inky base with subtle cool undertones. Because #04040c is so close to black, it provides excellent contrast for white typography, comfortably exceeding WCAG accessibility standards. Use it as a dominant background to create high-end, moody interfaces, but pair it with soft metallics or muted pastels to prevent the design from feeling too bleak or impenetrable. The hex code is #04040c.

Questions about #04040c

What is #04040c in RGB, HSL and CMYK?
In RGB, #04040c is rgb(4, 4, 12), in HSL hsl(240, 50%, 3%) and in CMYK 67%, 67%, 0%, 95%.
How does #04040c perform in UI design compared to pure black?
Using #04040c is often better than pure black because it feels more natural and less harsh on the eyes. It maintains strong contrast against white text while preventing the stark, artificial visual tension often created by fully saturated #000000 black.
What color palettes pair well with #04040c?
This color works best when paired with soft metallics or muted, desaturated pastels to soften its intensity. Consider using silver or sage accents to complement its cool undertones, keeping the overall design sophisticated rather than feeling too bleak or impenetrable.
Is #04040c readable on white or black?
#04040c has a 20.43:1 contrast ratio on white and 1.02: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.