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

#0040c5 is a saturated, deep blue with cool undertones that feels serious and established. Because it has strong contrast against white text, it works well as a dominant base color for finance or tech branding. Use it sparingly, as its intensity can overwhelm smaller interface elements. This hex code provides a steady, reliable anchor when paired with soft grays or off-white tones.
Questions about #0040c5
What is #0040c5 in RGB, HSL and CMYK?
In RGB, #0040c5 is rgb(0, 64, 197), in HSL hsl(221, 100%, 39%) and in CMYK 100%, 68%, 0%, 23%.
How should I use #0040c5 in web interface design?
Use #0040c5 primarily as a dominant base or accent color for finance and tech brands where reliability is key. Because of its high saturation, apply it sparingly to avoid visual fatigue, and always ensure text contrast against it is high.
What colors pair best with #0040c5?
This deep blue anchors designs perfectly when paired with neutral light gray or crisp off-white tones. For a modern, high-contrast look, consider using it alongside soft silver accents to balance its serious, saturated intensity without competing for attention.
Is #0040c5 readable on white or black?
#0040c5 has a 8.26:1 contrast ratio on white and 2.53: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.