#5E638D color
The hex color #5E638D is a grayish blue.
In the RGB color model it is made of 36.9% red, 38.8% green and 55.3% blue (94, 99, 141).
Its hue angle is 234°, with 20% saturation and 46% lightness. For print, the CMYK equivalent is 33% cyan, 30% magenta, 0% yellow and 45% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.76:1).
#5E638D color codes
| HEX | #5E638D | |
|---|---|---|
| RGB | rgb(94, 99, 141) | |
| RGB percent | rgb(36.9%, 38.8%, 55.3%) | |
| HSL | hsl(234, 20%, 46%) | |
| HSV / HSB | hsv(234, 33%, 55%) | |
| CMYK | cmyk(33%, 30%, 0%, 45%) | |
| CIE LAB | lab(43.1, 8.58, -23.77) | |
| CIE LCH | lch(43.1, 25.28, 289.84) | |
| CIE XYZ | xyz(13.884, 13.226, 27.015) | |
| Decimal | 6185869 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5E638D, 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 #5E638D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.65:1 | Fail | Fail | Pass |
| Sample text | 5.76:1 | Pass | Fail | Pass |
| #5E638D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.76:1 | Pass | Fail | Pass |
| Sample text | 3.65: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 #5E638D looks to people with the most common types of color vision deficiency.
#56688fProtanopia
no red cones#54648cDeuteranopia
no green cones#526b72Tritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #5e638d; }
.text { color: #5e638d; }
.border { border: 2px solid #5e638d; }
.transparent { background-color: rgb(94 99 141 / 50%); }
.gradient { background: linear-gradient(to right, #5e638d, #715e8d); }
Similar colors
#5d6098Wizard’s Potion#4d5b88Wizard#5f6d91Haunt Mist#6a6887Heron#51588ePiccadilly Purple#6b6c89Dark Prince#4e5481Dusk#4c567aDeep Indigo
Closest common color name: Royal Purple.
Questions
- What color is #5E638D?
- #5E638D 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 #5E638D?
- The RGB value is 94, 99, 141: 94 red, 99 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #5E638D?
- The complementary color is #8D885E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5E638D?
- White text. Black text has a contrast ratio of 3.65:1 and white text 5.76:1. WCAG asks for at least 4.5:1 for normal text.