#5F5EA6 color
The hex color #5F5EA6 is a desaturated blue.
In the RGB color model it is made of 37.3% red, 36.9% green and 65.1% blue (95, 94, 166).
Its hue angle is 241°, with 29% saturation and 51% lightness. For print, the CMYK equivalent is 43% cyan, 43% magenta, 0% yellow and 35% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.77:1).
#5F5EA6 color codes
| HEX | #5F5EA6 | |
|---|---|---|
| RGB | rgb(95, 94, 166) | |
| RGB percent | rgb(37.3%, 36.9%, 65.1%) | |
| HSL | hsl(241, 29%, 51%) | |
| HSV / HSB | hsv(241, 43%, 65%) | |
| CMYK | cmyk(43%, 43%, 0%, 35%) | |
| CIE LAB | lab(43.05, 19.25, -38.75) | |
| CIE LCH | lch(43.05, 43.26, 296.42) | |
| CIE XYZ | xyz(15.603, 13.191, 37.793) | |
| Decimal | 6250150 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F5EA6, 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 #5F5EA6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.64:1 | Fail | Fail | Pass |
| Sample text | 5.77:1 | Pass | Fail | Pass |
| #5F5EA6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.77:1 | Pass | Fail | Pass |
| Sample text | 3.64: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 #5F5EA6 looks to people with the most common types of color vision deficiency.
#4468a9Protanopia
no red cones#4063a4Deuteranopia
no green cones#496d7aTritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #5f5ea6; }
.text { color: #5f5ea6; }
.border { border: 2px solid #5f5ea6; }
.transparent { background-color: rgb(95 94 166 / 50%); }
.gradient { background: linear-gradient(to right, #5f5ea6, #835ea6); }
Similar colors
#5d6098Wizard’s Potion#5d66aaBellflower#6f63a0Scampi#715bb1Simply Purple#51588ePiccadilly Purple#6f58a6Prophet Violet#636ca8Twinkle Night#5f6db0Loch Ness
Closest common color name: Slate Blue.
Questions
- What color is #5F5EA6?
- #5F5EA6 is a desaturated blue, closest to the named color Wizard’s Potion. It belongs to the blue family of colors.
- What is the RGB value of #5F5EA6?
- The RGB value is 95, 94, 166: 95 red, 94 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #5F5EA6?
- The complementary color is #A5A65E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F5EA6?
- White text. Black text has a contrast ratio of 3.64:1 and white text 5.77:1. WCAG asks for at least 4.5:1 for normal text.