#0040A4 Hex Color

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

Hex color #0040a4 graphic
A punchy, saturated blue that carries significant visual weight. #0040a4 reads as authoritative and stable, making it a reliable choice for corporate identities and professional interfaces. Because it is highly saturated, it works best as a dominant brand color or a bold accent against neutral grays. White text provides excellent readability against the hex code, ensuring accessibility for UI layouts and data-heavy dashboards.

Questions about #0040a4

What is #0040a4 in RGB, HSL and CMYK?
In RGB, #0040a4 is rgb(0, 64, 164), in HSL hsl(217, 100%, 32%) and in CMYK 100%, 61%, 0%, 36%.
Which color schemes work best with #0040a4?
Because #0040a4 is a saturated primary-adjacent blue, it pairs well with gold or cream for a classic high-contrast look, or soft light gray for a more modern, corporate interface style. Avoid placing it near highly saturated reds to prevent visual vibration.
Is #0040a4 readable on white or black?
#0040a4 has a 9.25:1 contrast ratio on white and 2.26: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.