Skip to main content
matte

#555555

Gray 6

#555555 is the CSS named color "dimgray", an exact match. In RGB it breaks down to red 85, green 85, and blue 85 out of 255 each. In HSL terms that's a hue of 0°, 0% saturation, and 33% lightness: quite dark, close to black — it works well as body text on a light background or as a near-black UI surface.

Every format

HEX#555555
RGBrgb(85, 85, 85)
HSLhsl(0° 0% 33%)
HSBhsb(0° 0% 33%)
OKLCHoklch(45% 0.000 0°)
OKLABoklab(45% 0.000 0.000)
LCHlch(36% 0.0 0°)
CMYKcmyk(0% 0% 0% 67%)

Shades (darker)

#555555 · #4b4b4b · #424242 · #383838 · #2f2f2f

Tints (lighter)

#555555 · #646464 · #747474 · #848484 · #959595

Shades mix #555555 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.

On white: 7.46:1 — AAA
On black: 2.82:1 — fails

Frequently asked

What is #555555 in RGB?
#555555 is rgb(85, 85, 85) — red 85, green 85, blue 85 out of 255 each.
Does #555555 pass WCAG contrast on a white background?
It has a contrast ratio of 7.46:1 against white, which passes WCAG AAA for normal text.
What's a good background color to pair with #555555?
White text or a white background gives better contrast (7.46:1) than black (2.82:1).

Related colors

Full color tools