#505058 color
The hex color #505058 is a gray.
In the RGB color model it is made of 31.4% red, 31.4% green and 34.5% blue (80, 80, 88).
Its hue angle is 240°, with 5% saturation and 33% lightness. For print, the CMYK equivalent is 9% cyan, 9% magenta, 0% yellow and 65% black.
The closest named color is Deep Night (#494C55), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.99:1).
#505058 color codes
| HEX | #505058 | |
|---|---|---|
| RGB | rgb(80, 80, 88) | |
| RGB percent | rgb(31.4%, 31.4%, 34.5%) | |
| HSL | hsl(240, 5%, 33%) | |
| HSV / HSB | hsv(240, 9%, 35%) | |
| CMYK | cmyk(9%, 9%, 0%, 65%) | |
| CIE LAB | lab(34.29, 1.8, -4.68) | |
| CIE LCH | lch(34.29, 5.01, 291.03) | |
| CIE XYZ | xyz(7.938, 8.147, 10.385) | |
| Decimal | 5263448 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505058, 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 #505058 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.63:1 | Fail | Fail | Fail |
| Sample text | 7.99:1 | Pass | Pass | Pass |
| #505058 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.99:1 | Pass | Pass | Pass |
| Sample text | 2.63: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 #505058 looks to people with the most common types of color vision deficiency.
#4e5158Protanopia
no red cones#4e5058Deuteranopia
no green cones#4e5153Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #505058; }
.text { color: #505058; }
.border { border: 2px solid #505058; }
.transparent { background-color: rgb(80 80 88 / 50%); }
.gradient { background: linear-gradient(to right, #505058, #545058); }
Similar colors
#494c55Deep Night#525054Magnet#494d55Isolation#545663Blackwater#525463Black Orchid#484753Gun Powder#46494eTuna#424753Midnight Sky
Closest common color name: Charcoal.
Questions
- What color is #505058?
- #505058 is a gray, closest to the named color Deep Night. It belongs to the gray family of colors.
- What is the RGB value of #505058?
- The RGB value is 80, 80, 88: 80 red, 80 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #505058?
- The complementary color is #585850, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505058?
- White text. Black text has a contrast ratio of 2.63:1 and white text 7.99:1. WCAG asks for at least 4.5:1 for normal text.