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

#0040a8 is a commanding, saturated blue that anchors corporate branding and security interfaces. Due to its intense darkness, it provides a high-contrast, professional backdrop for white text with a 9.1:1 accessibility ratio. Pair it with crisp neutrals or soft creams to keep designs from feeling too cold. For other shades of blue, look at lighter alternatives. The hex code is #0040a8.
Questions about #0040a8
What is #0040a8 in RGB, HSL and CMYK?
In RGB, #0040a8 is rgb(0, 64, 168), in HSL hsl(217, 100%, 33%) and in CMYK 100%, 62%, 0%, 34%.
Why is #0040a8 effective for corporate branding?
This deep blue conveys stability and trust while providing excellent legibility against white text. It maintains high accessibility standards, making it a reliable choice for security interfaces, dashboards, or any digital platform requiring a sense of serious professionalism and clean, modern clarity.
What color combinations work best with #0040a8?
Is #0040a8 readable on white or black?
#0040a8 has a 9.13:1 contrast ratio on white and 2.29: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.