#585F8B color
The hex color #585F8B is a grayish blue.
In the RGB color model it is made of 34.5% red, 37.3% green and 54.5% blue (88, 95, 139).
Its hue angle is 232°, with 22% saturation and 45% lightness. For print, the CMYK equivalent is 37% cyan, 32% magenta, 0% yellow and 45% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.13:1).
#585F8B color codes
| HEX | #585F8B | |
|---|---|---|
| RGB | rgb(88, 95, 139) | |
| RGB percent | rgb(34.5%, 37.3%, 54.5%) | |
| HSL | hsl(232, 22%, 45%) | |
| HSV / HSB | hsv(232, 37%, 55%) | |
| CMYK | cmyk(37%, 32%, 0%, 45%) | |
| CIE LAB | lab(41.41, 8.67, -25.24) | |
| CIE LCH | lch(41.41, 26.68, 288.95) | |
| CIE XYZ | xyz(12.776, 12.123, 26.088) | |
| Decimal | 5791627 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #585F8B, 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 #585F8B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.42:1 | Fail | Fail | Pass |
| Sample text | 6.13:1 | Pass | Fail | Pass |
| #585F8B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.13:1 | Pass | Fail | Pass |
| Sample text | 3.42: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 #585F8B looks to people with the most common types of color vision deficiency.
#51648dProtanopia
no red cones#4e608aDeuteranopia
no green cones#4a676fTritanopia
no blue cones#626262Achromatopsia
no color vision
CSS examples
.background { background-color: #585f8b; }
.text { color: #585f8b; }
.border { border: 2px solid #585f8b; }
.transparent { background-color: rgb(88 95 139 / 50%); }
.gradient { background: linear-gradient(to right, #585f8b, #6a588b); }
Similar colors
#5d6098Wizard’s Potion#4d5b88Wizard#51588ePiccadilly Purple#4e5481Dusk#4c567aDeep Indigo#445780Sailor#4e518bTwilight#50507fTangent Periwinkle
Closest common color name: Royal Purple.
Questions
- What color is #585F8B?
- #585F8B 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 #585F8B?
- The RGB value is 88, 95, 139: 88 red, 95 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #585F8B?
- The complementary color is #8B8458, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #585F8B?
- White text. Black text has a contrast ratio of 3.42:1 and white text 6.13:1. WCAG asks for at least 4.5:1 for normal text.