#505A8B color
The hex color #505A8B is a desaturated blue.
In the RGB color model it is made of 31.4% red, 35.3% green and 54.5% blue (80, 90, 139).
Its hue angle is 230°, with 27% saturation and 43% lightness. For print, the CMYK equivalent is 42% cyan, 35% magenta, 0% yellow and 45% black.
The closest named color is Piccadilly Purple (#51588E), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.61:1).
#505A8B color codes
| HEX | #505A8B | |
|---|---|---|
| RGB | rgb(80, 90, 139) | |
| RGB percent | rgb(31.4%, 35.3%, 54.5%) | |
| HSL | hsl(230, 27%, 43%) | |
| HSV / HSB | hsv(230, 42%, 55%) | |
| CMYK | cmyk(42%, 35%, 0%, 45%) | |
| CIE LAB | lab(39.38, 9.47, -28.45) | |
| CIE LCH | lch(39.38, 29.99, 288.42) | |
| CIE XYZ | xyz(11.623, 10.881, 25.909) | |
| Decimal | 5266059 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505A8B, 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 #505A8B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.18:1 | Fail | Fail | Pass |
| Sample text | 6.61:1 | Pass | Fail | Pass |
| #505A8B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.61:1 | Pass | Fail | Pass |
| Sample text | 3.18:1 | Fail | Fail | Pass |
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 #505A8B looks to people with the most common types of color vision deficiency.
#495f8dProtanopia
no red cones#445b8aDeuteranopia
no green cones#3d646cTritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #505a8b; }
.text { color: #505a8b; }
.border { border: 2px solid #505a8b; }
.transparent { background-color: rgb(80 90 139 / 50%); }
.gradient { background: linear-gradient(to right, #505a8b, #64508b); }
Similar colors
#51588ePiccadilly Purple#4d5b88Wizard#4e5481Dusk#4e518bTwilight#445780Sailor#5d6098Wizard’s Potion#4c567aDeep Indigo#50507fTangent Periwinkle
Closest common color name: Dark Slate Blue.
Questions
- What color is #505A8B?
- #505A8B is a desaturated blue, closest to the named color Piccadilly Purple. It belongs to the blue family of colors.
- What is the RGB value of #505A8B?
- The RGB value is 80, 90, 139: 80 red, 90 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #505A8B?
- The complementary color is #8B8150, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505A8B?
- White text. Black text has a contrast ratio of 3.18:1 and white text 6.61:1. WCAG asks for at least 4.5:1 for normal text.