#5A6F9E color
The hex color #5A6F9E is a desaturated blue.
In the RGB color model it is made of 35.3% red, 43.5% green and 62% blue (90, 111, 158).
Its hue angle is 221°, with 27% saturation and 49% lightness. For print, the CMYK equivalent is 43% cyan, 30% magenta, 0% yellow and 38% black.
The closest named color is Haunt Mist (#5F6D91), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5:1).
#5A6F9E color codes
| HEX | #5A6F9E | |
|---|---|---|
| RGB | rgb(90, 111, 158) | |
| RGB percent | rgb(35.3%, 43.5%, 62%) | |
| HSL | hsl(221, 27%, 49%) | |
| HSV / HSB | hsv(221, 43%, 62%) | |
| CMYK | cmyk(43%, 30%, 0%, 38%) | |
| CIE LAB | lab(46.99, 4.98, -27.86) | |
| CIE LCH | lch(46.99, 28.3, 280.14) | |
| CIE XYZ | xyz(16.071, 16.01, 34.585) | |
| Decimal | 5926814 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6F9E, 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 #5A6F9E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.2:1 | Fail | Fail | Pass |
| Sample text | 5:1 | Pass | Fail | Pass |
| #5A6F9E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5:1 | Pass | Fail | Pass |
| Sample text | 4.2: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 #5A6F9E looks to people with the most common types of color vision deficiency.
#5e73a0Protanopia
no red cones#576d9dDeuteranopia
no green cones#427980Tritanopia
no blue cones#6f6f6fAchromatopsia
no color vision
CSS examples
.background { background-color: #5a6f9e; }
.text { color: #5a6f9e; }
.border { border: 2px solid #5a6f9e; }
.transparent { background-color: rgb(90 111 158 / 50%); }
.gradient { background: linear-gradient(to right, #5a6f9e, #675a9e); }
Similar colors
#5f6d91Haunt Mist#5f6db0Loch Ness#636ca8Twinkle Night#65769aMisty Harbour#577396Clean Slate#5879a2Montreux Blue#4a73a8Song of the Sea#4664a5Starstruck
Closest common color name: Denim.
Questions
- What color is #5A6F9E?
- #5A6F9E is a desaturated blue, closest to the named color Haunt Mist. It belongs to the blue family of colors.
- What is the RGB value of #5A6F9E?
- The RGB value is 90, 111, 158: 90 red, 111 green and 158 blue on a 0 to 255 scale.
- What is the complementary color of #5A6F9E?
- The complementary color is #9E895A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6F9E?
- White text. Black text has a contrast ratio of 4.2:1 and white text 5:1. WCAG asks for at least 4.5:1 for normal text.