#515758 color
The hex color #515758 is a gray.
In the RGB color model it is made of 31.8% red, 34.1% green and 34.5% blue (81, 87, 88).
Its hue angle is 189°, with 4% saturation and 33% lightness. For print, the CMYK equivalent is 8% cyan, 1% magenta, 0% yellow and 65% black.
The closest named color is Trout (#4C5356), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.36:1).
#515758 color codes
| HEX | #515758 | |
|---|---|---|
| RGB | rgb(81, 87, 88) | |
| RGB percent | rgb(31.8%, 34.1%, 34.5%) | |
| HSL | hsl(189, 4%, 33%) | |
| HSV / HSB | hsv(189, 8%, 35%) | |
| CMYK | cmyk(8%, 1%, 0%, 65%) | |
| CIE LAB | lab(36.5, -2.15, -1.4) | |
| CIE LCH | lch(36.5, 2.56, 213.08) | |
| CIE XYZ | xyz(8.563, 9.27, 10.569) | |
| Decimal | 5330776 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515758, 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 #515758 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.85:1 | Fail | Fail | Fail |
| Sample text | 7.36:1 | Pass | Pass | Pass |
| #515758 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.36:1 | Pass | Pass | Pass |
| Sample text | 2.85: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 #515758 looks to people with the most common types of color vision deficiency.
#565658Protanopia
no red cones#555558Deuteranopia
no green cones#4f5857Tritanopia
no blue cones#565656Achromatopsia
no color vision
CSS examples
.background { background-color: #515758; }
.text { color: #515758; }
.border { border: 2px solid #515758; }
.transparent { background-color: rgb(81 87 88 / 50%); }
.gradient { background: linear-gradient(to right, #515758, #515358); }
Similar colors
#4c5356Trout#555b59Crucible#495252Dark as Night#494e4fCover of Night#555555Stone Cold#5a5e61Blindfolded#566062Yacht Club#5c5d5dKnight’s Armour
Closest common color name: Dim Gray.
Questions
- What color is #515758?
- #515758 is a gray, closest to the named color Trout. It belongs to the gray family of colors.
- What is the RGB value of #515758?
- The RGB value is 81, 87, 88: 81 red, 87 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #515758?
- The complementary color is #585251, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515758?
- White text. Black text has a contrast ratio of 2.85:1 and white text 7.36:1. WCAG asks for at least 4.5:1 for normal text.