#5D6398 color
The hex color #5D6398 is a grayish blue.
In the RGB color model it is made of 36.5% red, 38.8% green and 59.6% blue (93, 99, 152).
Its hue angle is 234°, with 24% saturation and 48% lightness. For print, the CMYK equivalent is 39% cyan, 35% magenta, 0% yellow and 40% 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.67:1).
#5D6398 color codes
| HEX | #5D6398 | |
|---|---|---|
| RGB | rgb(93, 99, 152) | |
| RGB percent | rgb(36.5%, 38.8%, 59.6%) | |
| HSL | hsl(234, 24%, 48%) | |
| HSV / HSB | hsv(234, 39%, 60%) | |
| CMYK | cmyk(39%, 35%, 0%, 40%) | |
| CIE LAB | lab(43.53, 11.43, -29.69) | |
| CIE LCH | lch(43.53, 31.81, 291.06) | |
| CIE XYZ | xyz(14.642, 13.517, 31.537) | |
| Decimal | 6120344 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D6398, 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 #5D6398 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.7:1 | Fail | Fail | Pass |
| Sample text | 5.67:1 | Pass | Fail | Pass |
| #5D6398 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.67:1 | Pass | Fail | Pass |
| Sample text | 3.7: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 #5D6398 looks to people with the most common types of color vision deficiency.
#52699aProtanopia
no red cones#4e6597Deuteranopia
no green cones#4c6d76Tritanopia
no blue cones#676767Achromatopsia
no color vision
CSS examples
.background { background-color: #5d6398; }
.text { color: #5d6398; }
.border { border: 2px solid #5d6398; }
.transparent { background-color: rgb(93 99 152 / 50%); }
.gradient { background: linear-gradient(to right, #5d6398, #745d98); }
Similar colors
#5d6098Wizard’s Potion#5d66aaBellflower#636ca8Twinkle Night#51588ePiccadilly Purple#4d5b88Wizard#6f63a0Scampi#5f6d91Haunt Mist#5f6db0Loch Ness
Closest common color name: Royal Purple.
Questions
- What color is #5D6398?
- #5D6398 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 #5D6398?
- The RGB value is 93, 99, 152: 93 red, 99 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #5D6398?
- The complementary color is #98925D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D6398?
- White text. Black text has a contrast ratio of 3.7:1 and white text 5.67:1. WCAG asks for at least 4.5:1 for normal text.