#040D16 Hex Color

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

Hex color #040d16 graphic
Nearly black with a muted blue cast, #040d16 creates a somber, controlled mood for serious visual systems. The hex code works well as a dominant background in dark-mode interfaces, finance dashboards, security tools, and government branding. White text provides about 19.5:1 contrast, while dusty blue or muted burgundy can soften its heavy appearance.

Questions about #040d16

What is #040d16 in RGB, HSL and CMYK?
In RGB, #040d16 is rgb(4, 13, 22), in HSL hsl(210, 69%, 5%) and in CMYK 82%, 41%, 0%, 91%.
What colors pair well with #040d16?
#040d16 pairs well with dusty blue, burgundy, and warm off-white accents, which soften its near-black depth while preserving a controlled, professional mood across interfaces, dashboards, brand palettes, and identity systems.
Does #040d16 feel warm or cool?
#040d16 reads as a cool near-black because its blue cast lowers the warmth of the dark base, creating a somber, controlled mood suited to security, finance, government-facing interfaces, and focused data dashboards.
Is #040d16 readable on white or black?
#040d16 has a 19.54: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.