#5B5F7C Hex Color

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

Hex color #5b5f7c graphic
This muted, ashy indigo carries a dusty quality that feels serious and restrained. Because it is highly unsaturated, #5b5f7c works best as a supporting background rather than a bold focal point. It pairs well with soft creams or warm gold accents to break up its gloominess. White text remains perfectly legible against this hex code, making it a functional choice for dark mode UI interfaces.

Questions about #5b5f7c

What is #5b5f7c in RGB, HSL and CMYK?
In RGB, #5b5f7c is rgb(91, 95, 124), in HSL hsl(233, 15%, 42%) and in CMYK 27%, 23%, 0%, 51%.
What colors pair best with #5b5f7c?
Because #5b5f7c is a cool, muted indigo, it works best with cream or ivory to provide a soft, high-contrast lift. Adding warm metallic accents like gold can effectively cut through the inherent gloominess of this dusty, unsaturated shade.
Is #5b5f7c suitable for text-heavy interfaces?
#5b5f7c functions well as a background color for dark mode interfaces, provided the text color is high-contrast. White or very light off-white text remains legible against this shade, ensuring readability while maintaining a professional and serious aesthetic.
Is #5b5f7c readable on white or black?
#5b5f7c has a 6.22:1 contrast ratio on white and 3.37: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.