#5D638A color
The hex color #5D638A is a grayish blue.
In the RGB color model it is made of 36.5% red, 38.8% green and 54.1% blue (93, 99, 138).
Its hue angle is 232°, with 19% saturation and 45% lightness. For print, the CMYK equivalent is 33% cyan, 28% magenta, 0% yellow and 46% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.81:1).
#5D638A color codes
| HEX | #5D638A | |
|---|---|---|
| RGB | rgb(93, 99, 138) | |
| RGB percent | rgb(36.5%, 38.8%, 54.1%) | |
| HSL | hsl(232, 19%, 45%) | |
| HSV / HSB | hsv(232, 33%, 54%) | |
| CMYK | cmyk(33%, 28%, 0%, 46%) | |
| CIE LAB | lab(42.89, 7.43, -22.31) | |
| CIE LCH | lch(42.89, 23.51, 288.43) | |
| CIE XYZ | xyz(13.562, 13.085, 25.851) | |
| Decimal | 6120330 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D638A, 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 #5D638A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.62:1 | Fail | Fail | Pass |
| Sample text | 5.81:1 | Pass | Fail | Pass |
| #5D638A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.81:1 | Pass | Fail | Pass |
| Sample text | 3.62: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 #5D638A looks to people with the most common types of color vision deficiency.
#57678cProtanopia
no red cones#546489Deuteranopia
no green cones#516a71Tritanopia
no blue cones#656565Achromatopsia
no color vision
CSS examples
.background { background-color: #5d638a; }
.text { color: #5d638a; }
.border { border: 2px solid #5d638a; }
.transparent { background-color: rgb(93 99 138 / 50%); }
.gradient { background: linear-gradient(to right, #5d638a, #6d5d8a); }
Similar colors
#5d6098Wizard’s Potion#5f6d91Haunt Mist#4d5b88Wizard#6a6887Heron#6b6c89Dark Prince#51588ePiccadilly Purple#4c567aDeep Indigo#4e5481Dusk
Closest common color name: Dark Slate Blue.
Questions
- What color is #5D638A?
- #5D638A 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 #5D638A?
- The RGB value is 93, 99, 138: 93 red, 99 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #5D638A?
- The complementary color is #8A845D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D638A?
- White text. Black text has a contrast ratio of 3.62:1 and white text 5.81:1. WCAG asks for at least 4.5:1 for normal text.