#5B5855 color
The hex color #5B5855 is a gray.
In the RGB color model it is made of 35.7% red, 34.5% green and 33.3% blue (91, 88, 85).
Its hue angle is 30°, with 3% saturation and 35% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 7% yellow and 64% black.
The closest named color is Heavy Charcoal (#565350), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.07:1).
#5B5855 color codes
| HEX | #5B5855 | |
|---|---|---|
| RGB | rgb(91, 88, 85) | |
| RGB percent | rgb(35.7%, 34.5%, 33.3%) | |
| HSL | hsl(30, 3%, 35%) | |
| HSV / HSB | hsv(30, 7%, 36%) | |
| CMYK | cmyk(0%, 3%, 7%, 64%) | |
| CIE LAB | lab(37.59, 0.59, 2.17) | |
| CIE LCH | lch(37.59, 2.25, 74.68) | |
| CIE XYZ | xyz(9.444, 9.86, 9.998) | |
| Decimal | 5986389 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B5855, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5B5855 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.97:1 | Fail | Fail | Fail |
| Sample text | 7.07:1 | Pass | Pass | Pass |
| #5B5855 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.07:1 | Pass | Pass | Pass |
| Sample text | 2.97:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5B5855 looks to people with the most common types of color vision deficiency.
#595855Protanopia
no red cones#5a5955Deuteranopia
no green cones#5c5757Tritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #5b5855; }
.text { color: #5b5855; }
.border { border: 2px solid #5b5855; }
.transparent { background-color: rgb(91 88 85 / 50%); }
.gradient { background: linear-gradient(to right, #5b5855, #5b5b55); }
Similar colors
#565350Heavy Charcoal#5f5854Bark#625c58Caveman#555555Stone Cold#5e5755Smokescreen#5e5e5eIron#5c5d5dKnight’s Armour#57534bMasala
Closest common color name: Dim Gray.
Questions
- What color is #5B5855?
- #5B5855 is a gray, closest to the named color Heavy Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #5B5855?
- The RGB value is 91, 88, 85: 91 red, 88 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #5B5855?
- The complementary color is #55585B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B5855?
- White text. Black text has a contrast ratio of 2.97:1 and white text 7.07:1. WCAG asks for at least 4.5:1 for normal text.