#5F5EA6 color

#5F5EA6 rgb(95, 94, 166)
Shades of blue

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
RGBrgb(95, 94, 166)
RGB percentrgb(37.3%, 36.9%, 65.1%)
HSLhsl(241, 29%, 51%)
HSV / HSBhsv(241, 43%, 65%)
CMYKcmyk(43%, 43%, 0%, 35%)
CIE LABlab(43.05, 19.25, -38.75)
CIE LCHlch(43.05, 43.26, 296.42)
CIE XYZxyz(15.603, 13.191, 37.793)
Decimal6250150
Short hexNone (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 #5F5EA6RatioAAAAAAA large
Sample text3.64:1FailFailPass
Sample text5.77:1PassFailPass
#5F5EA6 as text onRatioAAAAAAA large
Sample text5.77:1PassFailPass
Sample text3.64: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 #5F5EA6 looks to people with the most common types of color vision deficiency.

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

Similar colors

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.