#505D96 color
The hex color #505D96 is a desaturated blue.
In the RGB color model it is made of 31.4% red, 36.5% green and 58.8% blue (80, 93, 150).
Its hue angle is 229°, with 30% saturation and 45% lightness. For print, the CMYK equivalent is 47% cyan, 38% magenta, 0% yellow and 41% black.
The closest named color is Piccadilly Purple (#51588E), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.27:1).
#505D96 color codes
| HEX | #505D96 | |
|---|---|---|
| RGB | rgb(80, 93, 150) | |
| RGB percent | rgb(31.4%, 36.5%, 58.8%) | |
| HSL | hsl(229, 30%, 45%) | |
| HSV / HSB | hsv(229, 47%, 59%) | |
| CMYK | cmyk(47%, 38%, 0%, 41%) | |
| CIE LAB | lab(40.79, 11, -32.86) | |
| CIE LCH | lch(40.79, 34.65, 288.5) | |
| CIE XYZ | xyz(12.726, 11.735, 30.443) | |
| Decimal | 5266838 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505D96, 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 #505D96 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.35:1 | Fail | Fail | Pass |
| Sample text | 6.27:1 | Pass | Fail | Pass |
| #505D96 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.27:1 | Pass | Fail | Pass |
| Sample text | 3.35: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 #505D96 looks to people with the most common types of color vision deficiency.
#486398Protanopia
no red cones#425d95Deuteranopia
no green cones#376972Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #505d96; }
.text { color: #505d96; }
.border { border: 2px solid #505d96; }
.transparent { background-color: rgb(80 93 150 / 50%); }
.gradient { background: linear-gradient(to right, #505d96, #665096); }
Similar colors
#51588ePiccadilly Purple#4d5b88Wizard#5d6098Wizard’s Potion#445780Sailor#5d66aaBellflower#4e518bTwilight#4664a5Starstruck#4e5481Dusk
Closest common color name: Sapphire.
Questions
- What color is #505D96?
- #505D96 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 #505D96?
- The RGB value is 80, 93, 150: 80 red, 93 green and 150 blue on a 0 to 255 scale.
- What is the complementary color of #505D96?
- The complementary color is #968950, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505D96?
- White text. Black text has a contrast ratio of 3.35:1 and white text 6.27:1. WCAG asks for at least 4.5:1 for normal text.