#404C8F Hex Color

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

Hex color #404c8f graphic
#404c8f is a muted, dusty indigo with a cool, shadowy temperament. It provides enough contrast to support white text for accessible body copy, making it a reliable choice for dark mode UI backgrounds. This shade carries a serious, disciplined weight that works best as a base color rather than a small accent. Pair it with soft cream or muted mustard to brighten its somber character.

Questions about #404c8f

What is #404c8f in RGB, HSL and CMYK?
In RGB, #404c8f is rgb(64, 76, 143), in HSL hsl(231, 38%, 41%) and in CMYK 55%, 47%, 0%, 44%.
How can I effectively use #404c8f in a design project?
#404c8f works best as a primary base color for UI layouts because it provides a calm, disciplined weight. To prevent the design from feeling too somber, balance this deep indigo with accents of soft cream or a warm muted mustard.
Is #404c8f readable on white or black?
#404c8f has a 7.92:1 contrast ratio on white and 2.64: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.