#04080C Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#04080c is an almost-black, cool-toned shade with a faint blue cast and very little saturation. Its ashy darkness feels serious, discreet, and controlled, making it effective for dark-mode interfaces, luxury branding, editorial layouts, and bold typography. Use it as a dominant background with pale text; its 20.1:1 contrast supports clear white body text. The hex code is #04080c.
Questions about #04080c
What is #04080c in RGB, HSL and CMYK?
In RGB, #04080c is rgb(4, 8, 12), in HSL hsl(210, 50%, 3%) and in CMYK 67%, 33%, 0%, 95%. Browse more shades of black with names and hex codes.
Is #04080c better as a background or accent?
#04080c works best as a dominant background or large dark field, where its near-black value creates depth; use brighter accents and generous tonal separation for controls, borders, and secondary content.
Is #04080c readable on white or black?
#04080c has a 20.09: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.