#04050B Hex Color

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

Hex color #04050b graphic
This nearly black shade reads as an ashy, somber neutral with a subtle, cool darkness. Because #04050b sits so close to pure black, it works best as a primary background for high-end, editorial layouts. It offers a 20.4:1 contrast ratio against white text, making it a perfect, more approachable alternative to standard black. The hex code for this moody, serious tone is #04050b.

Questions about #04050b

What is #04050b in RGB, HSL and CMYK?
In RGB, #04050b is rgb(4, 5, 11), in HSL hsl(231, 47%, 3%) and in CMYK 64%, 55%, 0%, 96%. Browse more shades of black with names and hex codes.
Why is #04050b better for backgrounds than pure black?
#04050b provides a softer, more sophisticated reading experience by reducing the harsh eye strain often associated with absolute black on white text. This subtle, cool-toned depth creates a premium editorial feel that standard black simply cannot replicate.
What colors pair well with #04050b for a modern palette?
Pair #04050b with high-contrast cool white or soft, muted grays to maintain its serious, moody character. For accents, this shade acts as an excellent canvas for muted metallic tones like pewter or deep, desaturated blues, ensuring your design remains grounded and professional.
Is #04050b readable on white or black?
#04050b has a 20.35:1 contrast ratio on white and 1.03: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.