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

The hex code #040d55 is a very dark, cool navy with low lightness and restrained saturation. Its blue-violet undertone gives interfaces a serious, controlled feel, making it useful as a dominant background for finance, security, technology, or government design. White text reaches about 17.6:1 contrast, so it supports readable small body text and crisp accents.
Questions about #040d55
What is #040d55 in RGB, HSL and CMYK?
In RGB, #040d55 is rgb(4, 13, 85), in HSL hsl(233, 91%, 17%) and in CMYK 95%, 85%, 0%, 67%. Browse more shades of blue with names and hex codes.
What colors pair well with #040d55?
Pair #040d55 with burgundy for restrained warmth, muted silver for a technical feel, or warm off-white for softer contrast; these combinations preserve its formal character while preventing the palette from feeling flat or overly cold.
Is #040d55 readable on white or black?
#040d55 has a 17.58:1 contrast ratio on white and 1.19: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.