#505A5C color
The hex color #505A5C is a gray.
In the RGB color model it is made of 31.4% red, 35.3% green and 36.1% blue (80, 90, 92).
Its hue angle is 190°, with 7% saturation and 34% lightness. For print, the CMYK equivalent is 13% cyan, 2% magenta, 0% yellow and 64% black.
The closest named color is Yacht Club (#566062), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.1:1).
#505A5C color codes
| HEX | #505A5C | |
|---|---|---|
| RGB | rgb(80, 90, 92) | |
| RGB percent | rgb(31.4%, 35.3%, 36.1%) | |
| HSL | hsl(190, 7%, 34%) | |
| HSV / HSB | hsv(190, 13%, 36%) | |
| CMYK | cmyk(13%, 2%, 0%, 64%) | |
| CIE LAB | lab(37.46, -3.43, -2.48) | |
| CIE LCH | lch(37.46, 4.24, 215.86) | |
| CIE XYZ | xyz(8.896, 9.79, 11.544) | |
| Decimal | 5266012 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505A5C, 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 #505A5C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.96:1 | Fail | Fail | Fail |
| Sample text | 7.1:1 | Pass | Pass | Pass |
| #505A5C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.1:1 | Pass | Pass | Pass |
| Sample text | 2.96: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 #505A5C looks to people with the most common types of color vision deficiency.
#58595cProtanopia
no red cones#56575cDeuteranopia
no green cones#4d5b5bTritanopia
no blue cones#585858Achromatopsia
no color vision
CSS examples
.background { background-color: #505a5c; }
.text { color: #505a5c; }
.border { border: 2px solid #505a5c; }
.transparent { background-color: rgb(80 90 92 / 50%); }
.gradient { background: linear-gradient(to right, #505a5c, #50545c); }
Similar colors
#566062Yacht Club#535e64Lava Rock#555b59Crucible#4c5356Trout#495252Dark as Night#4b5a62Fiord#445155Descent Into the Catacombs#4a5d5fStill Waters Run Deep
Closest common color name: Dim Gray.
Questions
- What color is #505A5C?
- #505A5C is a gray, closest to the named color Yacht Club. It belongs to the gray family of colors.
- What is the RGB value of #505A5C?
- The RGB value is 80, 90, 92: 80 red, 90 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #505A5C?
- The complementary color is #5C5250, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505A5C?
- White text. Black text has a contrast ratio of 2.96:1 and white text 7.1:1. WCAG asks for at least 4.5:1 for normal text.