#040A8E Hex Color

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

Hex color #040a8e graphic
This intense, highly saturated blue projects authority and serious professionalism. While it functions well as a dominant base, it can overwhelm a layout if overused. It pairs exceptionally well with stark white text, which remains highly readable against this dark shade. If you are learning what colors make blue, remember that this deep, cold hue serves as a reliable anchor for corporate branding. The hex code for this shade is #040a8e.

Questions about #040a8e

What is #040a8e in RGB, HSL and CMYK?
In RGB, #040a8e is rgb(4, 10, 142), in HSL hsl(237, 95%, 29%) and in CMYK 97%, 93%, 0%, 44%. Browse more shades of blue with names and hex codes.
What colors pair well with the deep tone of #040a8e?
This blue pairs naturally with crisp whites, cool grays, or metallic silvers to maintain its corporate aesthetic. For a more modern, high-contrast look, you can accent it with citrus yellow or bright coral to break up the intensity.
Is #040a8e readable on white or black?
#040a8e has a 14.59:1 contrast ratio on white and 1.43: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.