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

Almost black and highly muted, #040507 has a faint cool blue-gray undertone that gives its low lightness a sooty, ashy quality. The hex code #040507 creates a serious, secretive mood. It suits dark interfaces, luxury branding, editorial layouts, and large typography. Use it as a dominant background, where white text reaches about 20.4:1 contrast.
Questions about #040507
What is #040507 in RGB, HSL and CMYK?
In RGB, #040507 is rgb(4, 5, 7), in HSL hsl(220, 27%, 2%) and in CMYK 43%, 29%, 0%, 97%. Browse more shades of black with names and hex codes.
What colors pair well with #040507?
#040507 pairs well with warm off-whites, muted metallics, and restrained burgundy, which add separation without weakening its formal mood. Use pale surfaces for legibility, then reserve brighter colors for small accents.
Is #040507 readable on white or black?
#040507 has a 20.38: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.