#5E5E94 color
The hex color #5E5E94 is a grayish blue.
In the RGB color model it is made of 36.9% red, 36.9% green and 58% blue (94, 94, 148).
Its hue angle is 240°, with 22% saturation and 47% lightness. For print, the CMYK equivalent is 36% cyan, 36% magenta, 0% yellow and 42% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.99:1).
#5E5E94 color codes
| HEX | #5E5E94 | |
|---|---|---|
| RGB | rgb(94, 94, 148) | |
| RGB percent | rgb(36.9%, 36.9%, 58%) | |
| HSL | hsl(240, 22%, 47%) | |
| HSV / HSB | hsv(240, 36%, 58%) | |
| CMYK | cmyk(36%, 36%, 0%, 42%) | |
| CIE LAB | lab(42.04, 13.67, -29.64) | |
| CIE LCH | lch(42.04, 32.64, 294.76) | |
| CIE XYZ | xyz(13.963, 12.523, 29.693) | |
| Decimal | 6184596 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E5E94, 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 #5E5E94 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.5:1 | Fail | Fail | Pass |
| Sample text | 5.99:1 | Pass | Fail | Pass |
| #5E5E94 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.99:1 | Pass | Fail | Pass |
| Sample text | 3.5: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 #5E5E94 looks to people with the most common types of color vision deficiency.
#4d6596Protanopia
no red cones#4b6193Deuteranopia
no green cones#4f6872Tritanopia
no blue cones#636363Achromatopsia
no color vision
CSS examples
.background { background-color: #5e5e94; }
.text { color: #5e5e94; }
.border { border: 2px solid #5e5e94; }
.transparent { background-color: rgb(94 94 148 / 50%); }
.gradient { background: linear-gradient(to right, #5e5e94, #795e94); }
Similar colors
#5d6098Wizard’s Potion#51588ePiccadilly Purple#6f63a0Scampi#4d5b88Wizard#4e5481Dusk#4e518bTwilight#5d66aaBellflower#50507fTangent Periwinkle
Closest common color name: Royal Purple.
Questions
- What color is #5E5E94?
- #5E5E94 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 #5E5E94?
- The RGB value is 94, 94, 148: 94 red, 94 green and 148 blue on a 0 to 255 scale.
- What is the complementary color of #5E5E94?
- The complementary color is #94945E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E5E94?
- White text. Black text has a contrast ratio of 3.5:1 and white text 5.99:1. WCAG asks for at least 4.5:1 for normal text.