#504A70 color
The hex color #504A70 is a dark, grayish blue.
In the RGB color model it is made of 31.4% red, 29% green and 43.9% blue (80, 74, 112).
Its hue angle is 249°, with 20% saturation and 36% lightness. For print, the CMYK equivalent is 29% cyan, 34% magenta, 0% yellow and 56% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.22:1).
#504A70 color codes
| HEX | #504A70 | |
|---|---|---|
| RGB | rgb(80, 74, 112) | |
| RGB percent | rgb(31.4%, 29%, 43.9%) | |
| HSL | hsl(249, 20%, 36%) | |
| HSV / HSB | hsv(249, 34%, 44%) | |
| CMYK | cmyk(29%, 34%, 0%, 56%) | |
| CIE LAB | lab(33.51, 11.79, -20.99) | |
| CIE LCH | lch(33.51, 24.07, 299.32) | |
| CIE XYZ | xyz(8.681, 7.773, 16.369) | |
| Decimal | 5261936 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504A70, 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 #504A70 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.22:1 | Pass | Pass | Pass |
| #504A70 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.22: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 #504A70 looks to people with the most common types of color vision deficiency.
#404f72Protanopia
no red cones#404e6fDeuteranopia
no green cones#495158Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #504a70; }
.text { color: #504a70; }
.border { border: 2px solid #504a70; }
.transparent { background-color: rgb(80 74 112 / 50%); }
.gradient { background: linear-gradient(to right, #504a70, #634a70); }
Similar colors
#50507fTangent Periwinkle#57446aHaunted Candelabra#544563Nightly Walk#5c5083Freshly Purpleized#3d3d63Storm Is Coming#3e4364Genie#4a3b6aMeteorite#604c81Sumptuous Purple
Closest common color name: Dark Slate Blue.
Questions
- What color is #504A70?
- #504A70 is a dark, grayish blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #504A70?
- The RGB value is 80, 74, 112: 80 red, 74 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #504A70?
- The complementary color is #6A704A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504A70?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.22:1. WCAG asks for at least 4.5:1 for normal text.