#504786 color
The hex color #504786 is a desaturated blue.
In the RGB color model it is made of 31.4% red, 27.8% green and 52.5% blue (80, 71, 134).
Its hue angle is 249°, with 31% saturation and 40% lightness. For print, the CMYK equivalent is 40% cyan, 47% magenta, 0% yellow and 47% black.
The closest named color is Twilight (#4E518B), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.12:1).
#504786 color codes
| HEX | #504786 | |
|---|---|---|
| RGB | rgb(80, 71, 134) | |
| RGB percent | rgb(31.4%, 27.8%, 52.5%) | |
| HSL | hsl(249, 31%, 40%) | |
| HSV / HSB | hsv(249, 47%, 53%) | |
| CMYK | cmyk(40%, 47%, 0%, 47%) | |
| CIE LAB | lab(33.84, 20.12, -34.14) | |
| CIE LCH | lch(33.84, 39.63, 300.52) | |
| CIE XYZ | xyz(9.863, 7.933, 23.561) | |
| Decimal | 5261190 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504786, 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 #504786 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.12:1 | Pass | Pass | Pass |
| #504786 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.12:1 | Pass | Pass | Pass |
| Sample text | 2.59: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 #504786 looks to people with the most common types of color vision deficiency.
#305188Protanopia
no red cones#304e85Deuteranopia
no green cones#415360Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #504786; }
.text { color: #504786; }
.border { border: 2px solid #504786; }
.transparent { background-color: rgb(80 71 134 / 50%); }
.gradient { background: linear-gradient(to right, #504786, #6f4786); }
Similar colors
#4e518bTwilight#483d8bDark Slate Blue#50507fTangent Periwinkle#5c5083Freshly Purpleized#3d4585Queen of the Night Shift#464196Blueberry#5c457bIn the Vines#604c81Sumptuous Purple
Questions
- What color is #504786?
- #504786 is a desaturated blue, closest to the named color Twilight. It belongs to the blue family of colors.
- What is the RGB value of #504786?
- The RGB value is 80, 71, 134: 80 red, 71 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of #504786?
- The complementary color is #7D8647, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504786?
- White text. Black text has a contrast ratio of 2.59:1 and white text 8.12:1. WCAG asks for at least 4.5:1 for normal text.