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

The hex code #040b24 describes an almost-black navy with cool blue undertones and very low brightness. Its ashy, somber character suits security, finance, government, and formal technology branding. Use it as a dominant dark-mode background; white text provides about 19.5:1 contrast. Burgundy or muted silver adds controlled warmth and definition.
Questions about #040b24
What is #040b24 in RGB, HSL and CMYK?
In RGB, #040b24 is rgb(4, 11, 36), in HSL hsl(227, 80%, 8%) and in CMYK 89%, 69%, 0%, 86%.
Does #040b24 read as warm or cool?
#040b24 reads as a very cool, almost-black navy because its blue component is stronger than its red and green components. The near-black brightness reinforces its ashy, serious mood for formal, technical, institutional, and security-focused interfaces.
What colors pair well with #040b24?
Pair #040b24 with white for crisp contrast, muted silver for a restrained interface, or burgundy for controlled warmth. Pale blue can reinforce its cool character, while highly saturated accents create a sharper, more energetic look against the nearly black base.
Is #040b24 readable on white or black?
#040b24 has a 19.47:1 contrast ratio on white and 1.07: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.