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

This nearly-black shade carries a somber, ashy weight that defines premium, moody branding. With extreme darkness and a slight blue undertone, it serves better as a full-screen background than as a text color for small font sizes. The hex code #040424 maintains 20.0:1 contrast against white, making it an excellent choice for luxury web interfaces that require a clean, sophisticated dark mode.
Questions about #040424
What is #040424 in RGB, HSL and CMYK?
In RGB, #040424 is rgb(4, 4, 36), in HSL hsl(240, 80%, 8%) and in CMYK 89%, 89%, 0%, 86%. Browse more shades of black with names and hex codes.
Is #040424 better for text or backgrounds?
Use #040424 primarily as a full-screen background color because its extreme darkness mimics black while offering more personality. It creates excellent readability when paired with high-contrast white or soft cream text in dark mode interfaces.
How does #040424 compare to pure black?
The hex #040424 functions as a more sophisticated alternative to absolute black because of its subtle blue undertone. It avoids the harsh, flat appearance of #000000, making it ideal for high-end digital products that require depth and a premium aesthetic.
Is #040424 readable on white or black?
#040424 has a 20.03: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.