#504E76 color
The hex color #504E76 is a grayish blue.
In the RGB color model it is made of 31.4% red, 30.6% green and 46.3% blue (80, 78, 118).
Its hue angle is 243°, with 20% saturation and 38% lightness. For print, the CMYK equivalent is 32% cyan, 34% magenta, 0% yellow and 54% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.8:1).
#504E76 color codes
| HEX | #504E76 | |
|---|---|---|
| RGB | rgb(80, 78, 118) | |
| RGB percent | rgb(31.4%, 30.6%, 46.3%) | |
| HSL | hsl(243, 20%, 38%) | |
| HSV / HSB | hsv(243, 34%, 46%) | |
| CMYK | cmyk(32%, 34%, 0%, 54%) | |
| CIE LAB | lab(34.93, 10.9, -22.53) | |
| CIE LCH | lch(34.93, 25.03, 295.83) | |
| CIE XYZ | xyz(9.302, 8.462, 18.279) | |
| Decimal | 5262966 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504E76, 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 #504E76 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.69:1 | Fail | Fail | Fail |
| Sample text | 7.8:1 | Pass | Pass | Pass |
| #504E76 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.8:1 | Pass | Pass | Pass |
| Sample text | 2.69: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 #504E76 looks to people with the most common types of color vision deficiency.
#425378Protanopia
no red cones#425175Deuteranopia
no green cones#47555cTritanopia
no blue cones#525252Achromatopsia
no color vision
CSS examples
.background { background-color: #504e76; }
.text { color: #504e76; }
.border { border: 2px solid #504e76; }
.transparent { background-color: rgb(80 78 118 / 50%); }
.gradient { background: linear-gradient(to right, #504e76, #644e76); }
Similar colors
#50507fTangent Periwinkle#4e5481Dusk#5c5083Freshly Purpleized#4c567aDeep Indigo#555570Majestic Magic#4d516cIntergalactic#4e518bTwilight#3e4364Genie
Closest common color name: Dark Slate Blue.
Questions
- What color is #504E76?
- #504E76 is a grayish blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #504E76?
- The RGB value is 80, 78, 118: 80 red, 78 green and 118 blue on a 0 to 255 scale.
- What is the complementary color of #504E76?
- The complementary color is #74764E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504E76?
- White text. Black text has a contrast ratio of 2.69:1 and white text 7.8:1. WCAG asks for at least 4.5:1 for normal text.