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

#040275 is a dense, high-saturation blue that commands attention. Because it is so dark, this shade works effectively as a stable background color for professional tech or finance interfaces. Pair it with soft cream or white text to maintain high readability. The hex code for this authoritative navy is #040275, and it functions best as a dominant base rather than a subtle accent.
Questions about #040275
What is #040275 in RGB, HSL and CMYK?
In RGB, #040275 is rgb(4, 2, 117), in HSL hsl(241, 97%, 23%) and in CMYK 97%, 98%, 0%, 54%.
What colors pair best with #040275 for professional design?
Because #040275 is so dark and saturated, it works best when paired with high-contrast neutrals like crisp cream or pure white to maintain readability. For accent colors, soft metallics or muted gold tones provide a sophisticated, professional balance.
Is #040275 readable on white or black?
#040275 has a 16.52:1 contrast ratio on white and 1.27: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.