#504A84 color
The hex color #504A84 is a desaturated blue.
In the RGB color model it is made of 31.4% red, 29% green and 51.8% blue (80, 74, 132).
Its hue angle is 246°, with 28% saturation and 40% lightness. For print, the CMYK equivalent is 39% cyan, 44% magenta, 0% yellow and 48% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.91:1).
#504A84 color codes
| HEX | #504A84 | |
|---|---|---|
| RGB | rgb(80, 74, 132) | |
| RGB percent | rgb(31.4%, 29%, 51.8%) | |
| HSL | hsl(246, 28%, 40%) | |
| HSV / HSB | hsv(246, 44%, 52%) | |
| CMYK | cmyk(39%, 44%, 0%, 48%) | |
| CIE LAB | lab(34.54, 17.59, -31.8) | |
| CIE LCH | lch(34.54, 36.34, 298.94) | |
| CIE XYZ | xyz(9.921, 8.269, 22.899) | |
| Decimal | 5261956 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504A84, 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 #504A84 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.65:1 | Fail | Fail | Fail |
| Sample text | 7.91:1 | Pass | Pass | Pass |
| #504A84 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.91:1 | Pass | Pass | Pass |
| Sample text | 2.65: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 #504A84 looks to people with the most common types of color vision deficiency.
#365386Protanopia
no red cones#355083Deuteranopia
no green cones#425560Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #504a84; }
.text { color: #504a84; }
.border { border: 2px solid #504a84; }
.transparent { background-color: rgb(80 74 132 / 50%); }
.gradient { background: linear-gradient(to right, #504a84, #6d4a84); }
Similar colors
#50507fTangent Periwinkle#4e518bTwilight#5c5083Freshly Purpleized#4e5481Dusk#3d4585Queen of the Night Shift#604c81Sumptuous Purple#5c457bIn the Vines#483d8bDark Slate Blue
Questions
- What color is #504A84?
- #504A84 is a desaturated blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #504A84?
- The RGB value is 80, 74, 132: 80 red, 74 green and 132 blue on a 0 to 255 scale.
- What is the complementary color of #504A84?
- The complementary color is #7E844A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504A84?
- White text. Black text has a contrast ratio of 2.65:1 and white text 7.91:1. WCAG asks for at least 4.5:1 for normal text.