#040B0B Hex Color

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

Hex color #040b0b graphic
This ashy, near-black tone carries a dim, sooty quality that feels grounded and serious. Because #040b0b is so dark, it works best as a primary background color rather than for fine details where it might blur. It offers excellent contrast for white typography, making it a reliable choice for high-end dark mode interfaces or moody branding projects where readability is still a priority.

Questions about #040b0b

What is #040b0b in RGB, HSL and CMYK?
In RGB, #040b0b is rgb(4, 11, 11), in HSL hsl(180, 47%, 3%) and in CMYK 64%, 0%, 0%, 96%. Browse more shades of black with names and hex codes.
Where should I use #040b0b in my design?
#040b0b serves as an excellent, less harsh alternative to pure black for background layers in dark mode interfaces. Because it retains a subtle, sooty depth, it prevents eye strain while maintaining a professional and serious aesthetic for text-heavy layouts.
What colors pair well with #040b0b?
Bright, high-contrast tones work best against #040b0b to ensure readability. Pure white text is the most reliable choice, though soft, muted mint or desaturated silver accents can introduce a modern, industrial feel without disrupting the color's grounding effect.
Is #040b0b readable on white or black?
#040b0b has a 19.85:1 contrast ratio on white and 1.05: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.