#5D5E9D color
The hex color #5D5E9D is a desaturated blue.
In the RGB color model it is made of 36.5% red, 36.9% green and 61.6% blue (93, 94, 157).
Its hue angle is 239°, with 26% saturation and 49% lightness. For print, the CMYK equivalent is 41% cyan, 40% magenta, 0% yellow and 38% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.91:1).
#5D5E9D color codes
| HEX | #5D5E9D | |
|---|---|---|
| RGB | rgb(93, 94, 157) | |
| RGB percent | rgb(36.5%, 36.9%, 61.6%) | |
| HSL | hsl(239, 26%, 49%) | |
| HSV / HSB | hsv(239, 41%, 62%) | |
| CMYK | cmyk(41%, 40%, 0%, 38%) | |
| CIE LAB | lab(42.41, 16.02, -34.43) | |
| CIE LCH | lch(42.41, 37.97, 294.95) | |
| CIE XYZ | xyz(14.601, 12.766, 33.587) | |
| Decimal | 6119069 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D5E9D, 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 #5D5E9D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.55:1 | Fail | Fail | Pass |
| Sample text | 5.91:1 | Pass | Fail | Pass |
| #5D5E9D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.91:1 | Pass | Fail | Pass |
| Sample text | 3.55: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 #5D5E9D looks to people with the most common types of color vision deficiency.
#48669fProtanopia
no red cones#45629cDeuteranopia
no green cones#4a6a76Tritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #5d5e9d; }
.text { color: #5d5e9d; }
.border { border: 2px solid #5d5e9d; }
.transparent { background-color: rgb(93 94 157 / 50%); }
.gradient { background: linear-gradient(to right, #5d5e9d, #7c5d9d); }
Similar colors
#5d6098Wizard’s Potion#51588ePiccadilly Purple#5d66aaBellflower#6f63a0Scampi#4d5b88Wizard#636ca8Twinkle Night#4e518bTwilight#6f58a6Prophet Violet
Closest common color name: Slate Blue.
Questions
- What color is #5D5E9D?
- #5D5E9D 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 #5D5E9D?
- The RGB value is 93, 94, 157: 93 red, 94 green and 157 blue on a 0 to 255 scale.
- What is the complementary color of #5D5E9D?
- The complementary color is #9D9C5D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D5E9D?
- White text. Black text has a contrast ratio of 3.55:1 and white text 5.91:1. WCAG asks for at least 4.5:1 for normal text.