#040808 Hex Color

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

Hex color #040808 graphic
This near-black shade features an ashy, somber tone that brings depth to luxury branding and dark mode interfaces. #040808 offers a stable background option for designers, ensuring readable white typography with a 20.1:1 contrast ratio. With a dusty, neutral character, this hex code excels as a primary canvas. It maintains an authoritative presence in premium editorial designs and formal web layouts.

Questions about #040808

What is #040808 in RGB, HSL and CMYK?
In RGB, #040808 is rgb(4, 8, 8), in HSL hsl(180, 33%, 2%) and in CMYK 50%, 0%, 0%, 97%.
When should designers use the #040808 hex color?
Use #040808 for interface backgrounds where you require extreme readability against white text or light accents. This near-black tone functions as a softer, less aggressive alternative to pure black, lending an air of sophistication and organic depth to UI designs.
Does #040808 feel like a warm or cool tone?
The #040808 hex color leans into a cool, ashy aesthetic due to its minimal saturation and low lightness levels. It avoids the harshness of a true pitch black, making it an ideal anchor for charcoal or dark gray monochromatic themes.
Is #040808 readable on white or black?
#040808 has a 20.12:1 contrast ratio on white and 1.04: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.