Wizard’s Potion color: hex code #5D6098

#5D6098 rgb(93, 96, 152)
Shades of blue

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
RGBrgb(93, 96, 152)
RGB percentrgb(36.5%, 37.6%, 59.6%)
HSLhsl(237, 24%, 48%)
HSV / HSBhsv(237, 39%, 60%)
CMYKcmyk(39%, 37%, 0%, 40%)
CIE LABlab(42.7, 13.3, -30.99)
CIE LCHlch(42.7, 33.72, 293.22)
CIE XYZxyz(14.363, 12.959, 31.444)
Decimal6119576
Short hexNone (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 #5D6098RatioAAAAAAA large
Sample text3.59:1FailFailPass
Sample text5.85:1PassFailPass
#5D6098 as text onRatioAAAAAAA large
Sample text5.85:1PassFailPass
Sample text3.59:1FailFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.