#505158 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#505158 is a muted, ashy indigo that leans heavily into charcoal grey. This desaturated tone functions best as a neutral background for moody UI designs. Because it maintains a 7.9:1 contrast ratio with white, it remains perfectly readable for small body copy. Pair this hex code with bright, warm accents to keep your interface from appearing too flat or dull.
Questions about #505158
What is #505158 in RGB, HSL and CMYK?
In RGB, #505158 is rgb(80, 81, 88), in HSL hsl(233, 5%, 33%) and in CMYK 9%, 8%, 0%, 65%. Browse more shades of gray with names and hex codes.
Why is #505158 a strong choice for UI backgrounds?
This shade serves as a sophisticated alternative to standard blacks or grays, offering enough depth to ground a design while maintaining an excellent 7.9:1 contrast ratio against white text for superior readability in small UI components.
Is #505158 readable on white or black?
#505158 has a 7.89:1 contrast ratio on white and 2.65: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.