#504E5B color
The hex color #504E5B is a gray.
In the RGB color model it is made of 31.4% red, 30.6% green and 35.7% blue (80, 78, 91).
Its hue angle is 249°, with 8% saturation and 33% lightness. For print, the CMYK equivalent is 12% cyan, 14% magenta, 0% yellow and 64% black.
The closest named color is Gun Powder (#484753), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.13:1).
#504E5B color codes
| HEX | #504E5B | |
|---|---|---|
| RGB | rgb(80, 78, 91) | |
| RGB percent | rgb(31.4%, 30.6%, 35.7%) | |
| HSL | hsl(249, 8%, 33%) | |
| HSV / HSB | hsv(249, 14%, 36%) | |
| CMYK | cmyk(12%, 14%, 0%, 64%) | |
| CIE LAB | lab(33.79, 3.77, -7.31) | |
| CIE LCH | lch(33.79, 8.22, 297.26) | |
| CIE XYZ | xyz(7.921, 7.91, 11.005) | |
| Decimal | 5262939 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504E5B, 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 #504E5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.58:1 | Fail | Fail | Fail |
| Sample text | 8.13:1 | Pass | Pass | Pass |
| #504E5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.13:1 | Pass | Pass | Pass |
| Sample text | 2.58: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 #504E5B looks to people with the most common types of color vision deficiency.
#4b505cProtanopia
no red cones#4b4f5bDeuteranopia
no green cones#4e5052Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #504e5b; }
.text { color: #504e5b; }
.border { border: 2px solid #504e5b; }
.transparent { background-color: rgb(80 78 91 / 50%); }
.gradient { background: linear-gradient(to right, #504e5b, #564e5b); }
Similar colors
#484753Gun Powder#525463Black Orchid#545663Blackwater#565266Freefall#494c55Deep Night#41434eMidnight Serenade#4f4554Black Magic#525054Magnet
Closest common color name: Charcoal.
Questions
- What color is #504E5B?
- #504E5B is a gray, closest to the named color Gun Powder. It belongs to the gray family of colors.
- What is the RGB value of #504E5B?
- The RGB value is 80, 78, 91: 80 red, 78 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #504E5B?
- The complementary color is #595B4E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504E5B?
- White text. Black text has a contrast ratio of 2.58:1 and white text 8.13:1. WCAG asks for at least 4.5:1 for normal text.