#40548E Hex Color

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

Hex color #40548e graphic
#40548e is a muted, medium-dark blue with cool violet undertones and restrained saturation. Its serious, dependable character suits finance, security, healthcare, and government interfaces. Use it as a supporting tone or dark-mode background, pairing it with warm ivory or muted burgundy. White text remains highly readable, with about a 7.3:1 contrast ratio. The hex code is #40548e.

Questions about #40548e

What is #40548e in RGB, HSL and CMYK?
In RGB, #40548e is rgb(64, 84, 142), in HSL hsl(225, 38%, 40%) and in CMYK 55%, 41%, 0%, 44%.
What colors pair well with #40548e?
Warm ivory and muted burgundy balance #40548e’s cool violet undertones, creating refined combinations for interfaces, layouts, and brand palettes. Use lighter neutrals for contrast and burgundy for a restrained accent.
Is #40548e warm or cool?
The blue base and violet undertones keep #40548e visually cool, while its medium-dark value and restrained saturation give it a calm, dependable character suited to finance, security, healthcare, and government interfaces.
Is #40548e readable on white or black?
#40548e has a 7.29:1 contrast ratio on white and 2.87: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.