#405A8C Hex Color

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

Hex color #405a8c graphic
#405a8c is a dark, muted blue with cool, slightly gray undertones and a matte finish. Its low saturation creates a serious, dependable mood suited to security, finance, technology, and government interfaces. Use it as a supporting tone or dark UI base; white text reaches about 6.9:1 contrast, meeting WCAG AA for body text. The hex code is #405a8c.

Questions about #405a8c

What is #405a8c in RGB, HSL and CMYK?
In RGB, #405a8c is rgb(64, 90, 140), in HSL hsl(219, 37%, 40%) and in CMYK 54%, 36%, 0%, 45%. Browse more shades of blue with names and hex codes.
What colors pair well with #405a8c?
#405a8c pairs well with warm off-white, muted terracotta, and burgundy, which add contrast without overpowering its restrained blue-gray character; these combinations work especially well in editorial layouts, dashboards, and understated brand systems.
Is #405a8c readable on white or black?
#405a8c has a 6.86:1 contrast ratio on white and 3.05: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 works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.