#040952 Hex Color

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

Hex color #040952 graphic
#040952 is a dark, muted navy that reads serious and grounded. It works best as a dominant base for dark mode UI, finance branding, and formal layouts. White text hits roughly an 18:1 contrast ratio on it, so small type stays readable. Pair it with warm gold or burgundy accents to keep large areas from feeling flat.

Questions about #040952

What is #040952 in RGB, HSL and CMYK?
In RGB, #040952 is rgb(4, 9, 82), in HSL hsl(236, 91%, 17%) and in CMYK 95%, 89%, 0%, 68%. Browse more shades of blue with names and hex codes.
What colors pair well with #040952?
Warm gold, burgundy, and soft cream all flatter this navy without competing with it. For text and UI elements, white and pale gray give the clearest contrast.
Is #040952 readable on white or black?
#040952 has a 18.00:1 contrast ratio on white and 1.16: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.