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

A very dark, muted navy-blue, #040236 has a cold, sooty quality that suggests authority, security, and mystery. The hex code works well as a dominant background for finance, technology, government, and formal branding. Pair it with burgundy or cool gray for depth. White text reaches about 19.7:1 contrast, making it suitable for readable dark interfaces.
Questions about #040236
What is #040236 in RGB, HSL and CMYK?
In RGB, #040236 is rgb(4, 2, 54), in HSL hsl(242, 93%, 11%) and in CMYK 93%, 96%, 0%, 79%. Browse more shades of black with names and hex codes.
What colors pair well with #040236?
#040236 pairs well with burgundy and cool gray, which add warmth or restrained contrast without competing with its deep navy base; white also provides a crisp text and accent option for interfaces, branding, and formal layouts.
What mood does #040236 create, and where does it work well?
#040236 creates a cool, serious mood through its near-black navy tone, suggesting authority, security, and mystery; its low brightness suits dominant backgrounds for finance, technology, government, and other formal visual systems.
Is #040236 readable on white or black?
#040236 has a 19.67: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.