#5B585B Hex Color

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

Hex color #5b585b graphic
Dark and dim with a faint violet undertone, this grey sits low on the lightness scale and never gets loud. The hex code #5b585b reads steady and serious, which suits dark mode backgrounds, UI panels, and moody brand palettes. White text hits about 7.0:1 contrast, so small body copy stays readable. Pair it with dusty rose or muted teal to keep it from feeling flat.

Questions about #5b585b

What is #5b585b in RGB, HSL and CMYK?
In RGB, #5b585b is rgb(91, 88, 91), in HSL hsl(300, 2%, 35%) and in CMYK 0%, 3%, 0%, 64%. Browse more shades of gray with names and hex codes.
What colors pair well with #5b585b?
#5b585b pairs well with dusty rose, muted teal, and warm ochre, which lift its dim base without clashing. Skip pale grays nearby, since they wash it out. Treat it as a dark neutral base rather than an accent.
Is #5b585b readable on white or black?
#5b585b has a 7.01:1 contrast ratio on white and 2.99: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.