#5F5D90 color
The hex color #5F5D90 is a grayish blue.
In the RGB color model it is made of 37.3% red, 36.5% green and 56.5% blue (95, 93, 144).
Its hue angle is 242°, with 22% saturation and 46% lightness. For print, the CMYK equivalent is 34% cyan, 35% magenta, 0% yellow and 44% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.08:1).
#5F5D90 color codes
| HEX | #5F5D90 | |
|---|---|---|
| RGB | rgb(95, 93, 144) | |
| RGB percent | rgb(37.3%, 36.5%, 56.5%) | |
| HSL | hsl(242, 22%, 46%) | |
| HSV / HSB | hsv(242, 35%, 56%) | |
| CMYK | cmyk(34%, 35%, 0%, 44%) | |
| CIE LAB | lab(41.65, 13.45, -27.83) | |
| CIE LCH | lch(41.65, 30.91, 295.8) | |
| CIE XYZ | xyz(13.666, 12.275, 28.029) | |
| Decimal | 6249872 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F5D90, 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 #5F5D90 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.46:1 | Fail | Fail | Pass |
| Sample text | 6.08:1 | Pass | Fail | Pass |
| #5F5D90 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.08:1 | Pass | Fail | Pass |
| Sample text | 3.46: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 #5F5D90 looks to people with the most common types of color vision deficiency.
#4e6492Protanopia
no red cones#4c618fDeuteranopia
no green cones#526670Tritanopia
no blue cones#626262Achromatopsia
no color vision
CSS examples
.background { background-color: #5f5d90; }
.text { color: #5f5d90; }
.border { border: 2px solid #5f5d90; }
.transparent { background-color: rgb(95 93 144 / 50%); }
.gradient { background: linear-gradient(to right, #5f5d90, #795d90); }
Similar colors
#5d6098Wizard’s Potion#51588ePiccadilly Purple#6f63a0Scampi#655883Berry Jam#4e5481Dusk#5c5083Freshly Purpleized#4d5b88Wizard#4e518bTwilight
Closest common color name: Royal Purple.
Questions
- What color is #5F5D90?
- #5F5D90 is a grayish blue, closest to the named color Wizard’s Potion. It belongs to the blue family of colors.
- What is the RGB value of #5F5D90?
- The RGB value is 95, 93, 144: 95 red, 93 green and 144 blue on a 0 to 255 scale.
- What is the complementary color of #5F5D90?
- The complementary color is #8E905D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F5D90?
- White text. Black text has a contrast ratio of 3.46:1 and white text 6.08:1. WCAG asks for at least 4.5:1 for normal text.