Wizard’s Potion color: hex code #5D6098
Wizard’s Potion has the hex code #5D6098. It is a grayish blue.
In the RGB color model it is made of 36.5% red, 37.6% green and 59.6% blue (93, 96, 152).
Its hue angle is 237°, with 24% saturation and 48% lightness. For print, the CMYK equivalent is 39% cyan, 37% magenta, 0% yellow and 40% black.
White text is the more readable choice on this background (contrast 5.85:1).
Wizard’s Potion (#5D6098) color codes
| HEX | #5D6098 | |
|---|---|---|
| RGB | rgb(93, 96, 152) | |
| RGB percent | rgb(36.5%, 37.6%, 59.6%) | |
| HSL | hsl(237, 24%, 48%) | |
| HSV / HSB | hsv(237, 39%, 60%) | |
| CMYK | cmyk(39%, 37%, 0%, 40%) | |
| CIE LAB | lab(42.7, 13.3, -30.99) | |
| CIE LCH | lch(42.7, 33.72, 293.22) | |
| CIE XYZ | xyz(14.363, 12.959, 31.444) | |
| Decimal | 6119576 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Wizard’s Potion, 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 #5D6098 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.59:1 | Fail | Fail | Pass |
| Sample text | 5.85:1 | Pass | Fail | Pass |
| #5D6098 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.85:1 | Pass | Fail | Pass |
| Sample text | 3.59: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 #5D6098 looks to people with the most common types of color vision deficiency.
#4e679aProtanopia
no red cones#4a6397Deuteranopia
no green cones#4c6b75Tritanopia
no blue cones#656565Achromatopsia
no color vision
CSS examples
.background { background-color: #5d6098; }
.text { color: #5d6098; }
.border { border: 2px solid #5d6098; }
.transparent { background-color: rgb(93 96 152 / 50%); }
.gradient { background: linear-gradient(to right, #5d6098, #775d98); }
Similar colors
#51588ePiccadilly Purple#5d66aaBellflower#4d5b88Wizard#6f63a0Scampi#636ca8Twinkle Night#4e518bTwilight#4e5481Dusk#5f6d91Haunt Mist
Closest common color name: Royal Purple.
See #5D6098 on its hex code page
Questions
- What color is #5D6098?
- #5D6098 is a grayish blue known as Wizard’s Potion. It belongs to the blue family of colors.
- What is the RGB value of Wizard’s Potion?
- The RGB value is 93, 96, 152: 93 red, 96 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of Wizard’s Potion?
- The complementary color is #98955D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D6098?
- White text. Black text has a contrast ratio of 3.59:1 and white text 5.85:1. WCAG asks for at least 4.5:1 for normal text.