#5A586E color
The hex color #5A586E is a grayish blue.
In the RGB color model it is made of 35.3% red, 34.5% green and 43.1% blue (90, 88, 110).
Its hue angle is 245°, with 11% saturation and 39% lightness. For print, the CMYK equivalent is 18% cyan, 20% magenta, 0% yellow and 57% black.
The closest named color is Majestic Magic (#555570), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.87:1).
#5A586E color codes
| HEX | #5A586E | |
|---|---|---|
| RGB | rgb(90, 88, 110) | |
| RGB percent | rgb(35.3%, 34.5%, 43.1%) | |
| HSL | hsl(245, 11%, 39%) | |
| HSV / HSB | hsv(245, 20%, 43%) | |
| CMYK | cmyk(18%, 20%, 0%, 57%) | |
| CIE LAB | lab(38.34, 5.85, -12.24) | |
| CIE LCH | lch(38.34, 13.57, 295.53) | |
| CIE XYZ | xyz(10.52, 10.279, 16.179) | |
| Decimal | 5920878 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A586E, 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 #5A586E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.06:1 | Fail | Fail | Pass |
| Sample text | 6.87:1 | Pass | Fail | Pass |
| #5A586E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.87:1 | Pass | Fail | Pass |
| Sample text | 3.06: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 #5A586E looks to people with the most common types of color vision deficiency.
#535b6fProtanopia
no red cones#535a6dDeuteranopia
no green cones#565c5fTritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #5a586e; }
.text { color: #5a586e; }
.border { border: 2px solid #5a586e; }
.transparent { background-color: rgb(90 88 110 / 50%); }
.gradient { background: linear-gradient(to right, #5a586e, #65586e); }
Similar colors
#555570Majestic Magic#565266Freefall#605d6bSmoky#4d516cIntergalactic#525463Black Orchid#4f566cHeavy Violet#5f606eVenus Mist#545663Blackwater
Closest common color name: Dim Gray.
Questions
- What color is #5A586E?
- #5A586E is a grayish blue, closest to the named color Majestic Magic. It belongs to the blue family of colors.
- What is the RGB value of #5A586E?
- The RGB value is 90, 88, 110: 90 red, 88 green and 110 blue on a 0 to 255 scale.
- What is the complementary color of #5A586E?
- The complementary color is #6C6E58, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A586E?
- White text. Black text has a contrast ratio of 3.06:1 and white text 6.87:1. WCAG asks for at least 4.5:1 for normal text.