#040E23 Hex Color

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

Hex color #040e23 graphic
Dark navy at its very edge, #040e23 is a sooty, near-black blue with a cold undertone. It works best as a dominant base for dark mode interfaces, finance branding, or moody tech palettes, where white text reaches about 19.2:1 contrast. Pair it with muted gold or burgundy rather than plain gray to keep it from reading flat.

Questions about #040e23

What is #040e23 in RGB, HSL and CMYK?
In RGB, #040e23 is rgb(4, 14, 35), in HSL hsl(221, 79%, 8%) and in CMYK 89%, 60%, 0%, 86%.
What colors pair well with #040e23?
Muted gold, burgundy, and warm amber all bring out the blue in #040e23 without crowding it. Burgundy is a strong pick for accents, while soft brass tones keep the palette from feeling cold.
Is #040e23 readable on white or black?
#040e23 has a 19.22: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.