#504D59 color
The hex color #504D59 is a gray.
In the RGB color model it is made of 31.4% red, 30.2% green and 34.9% blue (80, 77, 89).
Its hue angle is 255°, with 7% saturation and 33% lightness. For print, the CMYK equivalent is 10% cyan, 13% magenta, 0% yellow and 65% black.
The closest named color is Gun Powder (#484753), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.25:1).
#504D59 color codes
| HEX | #504D59 | |
|---|---|---|
| RGB | rgb(80, 77, 89) | |
| RGB percent | rgb(31.4%, 30.2%, 34.9%) | |
| HSL | hsl(255, 7%, 33%) | |
| HSV / HSB | hsv(255, 13%, 35%) | |
| CMYK | cmyk(10%, 13%, 0%, 65%) | |
| CIE LAB | lab(33.42, 3.92, -6.6) | |
| CIE LCH | lch(33.42, 7.68, 300.73) | |
| CIE XYZ | xyz(7.765, 7.734, 10.533) | |
| Decimal | 5262681 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504D59, 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 #504D59 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.25:1 | Pass | Pass | Pass |
| #504D59 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.25:1 | Pass | Pass | Pass |
| Sample text | 2.55: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 #504D59 looks to people with the most common types of color vision deficiency.
#4b4f5aProtanopia
no red cones#4b4e59Deuteranopia
no green cones#4e4f51Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #504d59; }
.text { color: #504d59; }
.border { border: 2px solid #504d59; }
.transparent { background-color: rgb(80 77 89 / 50%); }
.gradient { background: linear-gradient(to right, #504d59, #564d59); }
Similar colors
#484753Gun Powder#525463Black Orchid#545663Blackwater#494c55Deep Night#565266Freefall#4f4554Black Magic#525054Magnet#41434eMidnight Serenade
Closest common color name: Graphite.
Questions
- What color is #504D59?
- #504D59 is a gray, closest to the named color Gun Powder. It belongs to the gray family of colors.
- What is the RGB value of #504D59?
- The RGB value is 80, 77, 89: 80 red, 77 green and 89 blue on a 0 to 255 scale.
- What is the complementary color of #504D59?
- The complementary color is #56594D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504D59?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.25:1. WCAG asks for at least 4.5:1 for normal text.