#5A6D98 color
The hex color #5A6D98 is a desaturated blue.
In the RGB color model it is made of 35.3% red, 42.7% green and 59.6% blue (90, 109, 152).
Its hue angle is 222°, with 26% saturation and 47% lightness. For print, the CMYK equivalent is 41% cyan, 28% magenta, 0% yellow and 40% black.
The closest named color is Haunt Mist (#5F6D91), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.15:1).
#5A6D98 color codes
| HEX | #5A6D98 | |
|---|---|---|
| RGB | rgb(90, 109, 152) | |
| RGB percent | rgb(35.3%, 42.7%, 59.6%) | |
| HSL | hsl(222, 26%, 47%) | |
| HSV / HSB | hsv(222, 41%, 60%) | |
| CMYK | cmyk(41%, 28%, 0%, 40%) | |
| CIE LAB | lab(46.15, 4.42, -25.63) | |
| CIE LCH | lch(46.15, 26.01, 279.78) | |
| CIE XYZ | xyz(15.351, 15.377, 31.859) | |
| Decimal | 5926296 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6D98, 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 #5A6D98 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.08:1 | Fail | Fail | Pass |
| Sample text | 5.15:1 | Pass | Fail | Pass |
| #5A6D98 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.15:1 | Pass | Fail | Pass |
| Sample text | 4.08: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 #5A6D98 looks to people with the most common types of color vision deficiency.
#5e709aProtanopia
no red cones#586b97Deuteranopia
no green cones#46767cTritanopia
no blue cones#6d6d6dAchromatopsia
no color vision
CSS examples
.background { background-color: #5a6d98; }
.text { color: #5a6d98; }
.border { border: 2px solid #5a6d98; }
.transparent { background-color: rgb(90 109 152 / 50%); }
.gradient { background: linear-gradient(to right, #5a6d98, #665a98); }
Similar colors
#5f6d91Haunt Mist#636ca8Twinkle Night#65769aMisty Harbour#577396Clean Slate#466590Sea of Galilee#5879a2Montreux Blue#4a73a8Song of the Sea#5a789aQuiet Harbour
Closest common color name: Denim.
Questions
- What color is #5A6D98?
- #5A6D98 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 #5A6D98?
- The RGB value is 90, 109, 152: 90 red, 109 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #5A6D98?
- The complementary color is #98855A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6D98?
- White text. Black text has a contrast ratio of 4.08:1 and white text 5.15:1. WCAG asks for at least 4.5:1 for normal text.