#515F5B color
The hex color #515F5B is a gray.
In the RGB color model it is made of 31.8% red, 37.3% green and 35.7% blue (81, 95, 91).
Its hue angle is 163°, with 8% saturation and 35% lightness. For print, the CMYK equivalent is 15% cyan, 0% magenta, 4% yellow and 63% black.
The closest named color is Still Waters Run Deep (#4A5D5F), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.69:1).
#515F5B color codes
| HEX | #515F5B | |
|---|---|---|
| RGB | rgb(81, 95, 91) | |
| RGB percent | rgb(31.8%, 37.3%, 35.7%) | |
| HSL | hsl(163, 8%, 35%) | |
| HSV / HSB | hsv(163, 15%, 37%) | |
| CMYK | cmyk(15%, 0%, 4%, 63%) | |
| CIE LAB | lab(39.05, -6.28, 0.47) | |
| CIE LCH | lch(39.05, 6.3, 175.69) | |
| CIE XYZ | xyz(9.373, 10.689, 11.465) | |
| Decimal | 5332827 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515F5B, 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 #515F5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.14:1 | Fail | Fail | Pass |
| Sample text | 6.69:1 | Pass | Fail | Pass |
| #515F5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.69:1 | Pass | Fail | Pass |
| Sample text | 3.14:1 | Fail | Fail | Pass |
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 #515F5B looks to people with the most common types of color vision deficiency.
#5e5d5bProtanopia
no red cones#5b5b5bDeuteranopia
no green cones#4e5f5eTritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #515f5b; }
.text { color: #515f5b; }
.border { border: 2px solid #515f5b; }
.transparent { background-color: rgb(81 95 91 / 50%); }
.gradient { background: linear-gradient(to right, #515f5b, #515c5f); }
Similar colors
#4a5d5fStill Waters Run Deep#475c5dWoodland Night#555b59Crucible#556962Dark Forest#566062Yacht Club#455454All Nighter#555d50Ebony#495252Dark as Night
Questions
- What color is #515F5B?
- #515F5B is a gray, closest to the named color Still Waters Run Deep. It belongs to the gray family of colors.
- What is the RGB value of #515F5B?
- The RGB value is 81, 95, 91: 81 red, 95 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #515F5B?
- The complementary color is #5F5155, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515F5B?
- White text. Black text has a contrast ratio of 3.14:1 and white text 6.69:1. WCAG asks for at least 4.5:1 for normal text.