#040726 Hex Color

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

Hex color #040726 graphic
Darker than most navies, this almost-black blue reads somber and cold, with a faint ashy undertone. The hex code #040726 works best as a dominant base for dark mode UIs, finance branding, or moody editorial layouts. White text hits about 19.7:1 contrast, so small type stays readable. Pair it with muted gold or burgundy; against pure white, its blue all but disappears.

Questions about #040726

What is #040726 in RGB, HSL and CMYK?
In RGB, #040726 is rgb(4, 7, 38), in HSL hsl(235, 81%, 8%) and in CMYK 89%, 82%, 0%, 85%.
What text color works best on #040726?
White text reads best on #040726, reaching about 19.7:1 contrast, well above the 4.5:1 required for WCAG AA body text. Pale blues and light grays also hold up.
What colors pair well with #040726?
Muted gold, burgundy, and dusty slate blues flatter #040726. Because it sits so close to black, accent colors need enough brightness to stand apart from it.
Is #040726 readable on white or black?
#040726 has a 19.74:1 contrast ratio on white and 1.06: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.