#40517B Hex Color

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

Hex color #40517b graphic
This muted, dusty blue feels serious and controlled without being overly aggressive. Its unsaturated quality makes it a stable, professional choice for corporate branding, technology, or finance UI. Use #40517b as a grounded base color for dark mode backgrounds or large elements. It provides excellent accessibility for white text and pairs effectively with muted warm tones to prevent the overall design from feeling too cold.

Questions about #40517b

What is #40517b in RGB, HSL and CMYK?
In RGB, #40517b is rgb(64, 81, 123), in HSL hsl(223, 32%, 37%) and in CMYK 48%, 34%, 0%, 52%. Browse more shades of blue with names and hex codes.
What colors pair well with #40517b?
This muted blue balances best with soft, warm neutrals to prevent the design from feeling too cold or sterile. Try pairing it with cream or sand for high readability, or use a sharp charcoal for a sophisticated, high-contrast text combination.
Is #40517b readable on white or black?
#40517b has a 7.83:1 contrast ratio on white and 2.68: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.