#505062 Hex Color

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

Hex color #505062 graphic
#505062 is a dark, muted indigo with gray undertones and a matte, almost ashy finish. Its low saturation gives interfaces and branding a serious, mysterious mood without feeling vivid. Use it as a supporting tone or dark UI background, pairing it with soft lilac or warm ivory. White text reads clearly on this color. The hex code is #505062.

Questions about #505062

What is #505062 in RGB, HSL and CMYK?
In RGB, #505062 is rgb(80, 80, 98), in HSL hsl(240, 10%, 35%) and in CMYK 18%, 18%, 0%, 62%. Browse more shades of gray with names and hex codes.
What colors pair well with #505062?
#505062 pairs well with soft lilac, warm ivory, and muted blue-gray accents, balancing its cool, ashy indigo character with gentle contrast while preserving the restrained mood that makes it useful in interfaces and understated branding.
Is #505062 suitable for text and dark UI backgrounds?
#505062 gives white text roughly a 12.6:1 contrast ratio, making it suitable for dark interface backgrounds and well above WCAG AA and AAA thresholds, while black text offers poor contrast and should generally be avoided.
Is #505062 readable on white or black?
#505062 has a 7.88:1 contrast ratio on white and 2.66: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.