#5D5985 color
The hex color #5D5985 is a grayish blue.
In the RGB color model it is made of 36.5% red, 34.9% green and 52.2% blue (93, 89, 133).
Its hue angle is 245°, with 20% saturation and 44% lightness. For print, the CMYK equivalent is 30% cyan, 33% magenta, 0% yellow and 48% black.
The closest named color is Berry Jam (#655883), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.5:1).
#5D5985 color codes
| HEX | #5D5985 | |
|---|---|---|
| RGB | rgb(93, 89, 133) | |
| RGB percent | rgb(36.5%, 34.9%, 52.2%) | |
| HSL | hsl(245, 20%, 44%) | |
| HSV / HSB | hsv(245, 33%, 52%) | |
| CMYK | cmyk(30%, 33%, 0%, 48%) | |
| CIE LAB | lab(39.86, 12.27, -23.99) | |
| CIE LCH | lch(39.86, 26.95, 297.1) | |
| CIE XYZ | xyz(12.319, 11.165, 23.692) | |
| Decimal | 6117765 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5D5985, 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 #5D5985 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.23:1 | Fail | Fail | Pass |
| Sample text | 6.5:1 | Pass | Fail | Pass |
| #5D5985 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.5:1 | Pass | Fail | Pass |
| Sample text | 3.23: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 #5D5985 looks to people with the most common types of color vision deficiency.
#4d5f87Protanopia
no red cones#4c5d84Deuteranopia
no green cones#546169Tritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #5d5985; }
.text { color: #5d5985; }
.border { border: 2px solid #5d5985; }
.transparent { background-color: rgb(93 89 133 / 50%); }
.gradient { background: linear-gradient(to right, #5d5985, #735985); }
Similar colors
#655883Berry Jam#5c5083Freshly Purpleized#50507fTangent Periwinkle#4e5481Dusk#51588ePiccadilly Purple#5d6098Wizard’s Potion#4e518bTwilight#4c567aDeep Indigo
Closest common color name: Royal Purple.
Questions
- What color is #5D5985?
- #5D5985 is a grayish blue, closest to the named color Berry Jam. It belongs to the blue family of colors.
- What is the RGB value of #5D5985?
- The RGB value is 93, 89, 133: 93 red, 89 green and 133 blue on a 0 to 255 scale.
- What is the complementary color of #5D5985?
- The complementary color is #818559, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5D5985?
- White text. Black text has a contrast ratio of 3.23:1 and white text 6.5:1. WCAG asks for at least 4.5:1 for normal text.