#504E86 color
The hex color #504E86 is a desaturated blue.
In the RGB color model it is made of 31.4% red, 30.6% green and 52.5% blue (80, 78, 134).
Its hue angle is 242°, with 26% saturation and 42% lightness. For print, the CMYK equivalent is 40% cyan, 42% magenta, 0% yellow and 47% black.
The closest named color is Twilight (#4E518B), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.57:1).
#504E86 color codes
| HEX | #504E86 | |
|---|---|---|
| RGB | rgb(80, 78, 134) | |
| RGB percent | rgb(31.4%, 30.6%, 52.5%) | |
| HSL | hsl(242, 26%, 42%) | |
| HSV / HSB | hsv(242, 42%, 53%) | |
| CMYK | cmyk(40%, 42%, 0%, 47%) | |
| CIE LAB | lab(35.74, 15.62, -31.13) | |
| CIE LCH | lch(35.74, 34.82, 296.64) | |
| CIE XYZ | xyz(10.335, 8.875, 23.718) | |
| Decimal | 5262982 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504E86, 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 #504E86 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.78:1 | Fail | Fail | Fail |
| Sample text | 7.57:1 | Pass | Pass | Pass |
| #504E86 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.57:1 | Pass | Pass | Pass |
| Sample text | 2.78: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 #504E86 looks to people with the most common types of color vision deficiency.
#3b5688Protanopia
no red cones#395285Deuteranopia
no green cones#415963Tritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #504e86; }
.text { color: #504e86; }
.border { border: 2px solid #504e86; }
.transparent { background-color: rgb(80 78 134 / 50%); }
.gradient { background: linear-gradient(to right, #504e86, #6c4e86); }
Similar colors
#4e518bTwilight#50507fTangent Periwinkle#4e5481Dusk#5c5083Freshly Purpleized#51588ePiccadilly Purple#3d4585Queen of the Night Shift#604c81Sumptuous Purple#4c567aDeep Indigo
Closest common color name: Dark Slate Blue.
Questions
- What color is #504E86?
- #504E86 is a desaturated blue, closest to the named color Twilight. It belongs to the blue family of colors.
- What is the RGB value of #504E86?
- The RGB value is 80, 78, 134: 80 red, 78 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of #504E86?
- The complementary color is #84864E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504E86?
- White text. Black text has a contrast ratio of 2.78:1 and white text 7.57:1. WCAG asks for at least 4.5:1 for normal text.