#040D26 Hex Color

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

Hex color #040d26 graphic
#040d26 is a very dark, cool blue with ashy navy undertones and an almost black appearance. Its low lightness creates a somber, controlled mood suited to security, finance, technology, and formal branding. Use it as a dominant background with brighter accents, while white text remains highly readable at about 19.3:1 contrast. The hex code is #040d26.

Questions about #040d26

What is #040d26 in RGB, HSL and CMYK?
In RGB, #040d26 is rgb(4, 13, 38), in HSL hsl(224, 81%, 8%) and in CMYK 89%, 66%, 0%, 85%. Browse more shades of black with names and hex codes.
What colors pair well with #040d26?
#040d26 pairs well with white, pale blue, and burgundy, which add contrast without weakening its serious character. Warm metallic accents can also soften the palette, while similarly dark colors may make the design feel muddy.
Is #040d26 readable on white or black?
#040d26 has a 19.25:1 contrast ratio on white and 1.09: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.