#00040D Hex Color

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

Hex color #00040d graphic
Sooty and almost black, #00040d carries a faint blue undertone that keeps it from reading flat. The hex code works best as a dominant base in dark mode and moody layouts, where white text reaches about 20.5:1 contrast. Next to pure white it can disappear, so soften the edge with muted blues or warm brass accents.

Questions about #00040d

What is #00040d in RGB, HSL and CMYK?
In RGB, #00040d is rgb(0, 4, 13), in HSL hsl(222, 100%, 3%) and in CMYK 100%, 69%, 0%, 95%. Browse more shades of black with names and hex codes.
Is #00040d good for dark mode backgrounds?
Yes. Its extreme darkness gives white text a contrast ratio of about 20.5:1, well above the WCAG AA minimum of 4.5:1, so small body text stays readable. The faint blue undertone also makes it feel slightly softer than pure black.
What colors pair well with #00040d?
Warm metallics like brass or amber keep it from feeling bleak, and desaturated slate blues blend into its undertone. Avoid mid-grays, which can look muddy sitting against this shade.
Is #00040d readable on white or black?
#00040d has a 20.52: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.