#5B71A0 color
The hex color #5B71A0 is a desaturated blue.
In the RGB color model it is made of 35.7% red, 44.3% green and 62.7% blue (91, 113, 160).
Its hue angle is 221°, with 27% saturation and 49% lightness. For print, the CMYK equivalent is 43% cyan, 29% magenta, 0% yellow and 37% black.
The closest named color is Misty Harbour (#65769A), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.87:1).
#5B71A0 color codes
| HEX | #5B71A0 | |
|---|---|---|
| RGB | rgb(91, 113, 160) | |
| RGB percent | rgb(35.7%, 44.3%, 62.7%) | |
| HSL | hsl(221, 27%, 49%) | |
| HSV / HSB | hsv(221, 43%, 63%) | |
| CMYK | cmyk(43%, 29%, 0%, 37%) | |
| CIE LAB | lab(47.72, 4.64, -27.9) | |
| CIE LCH | lch(47.72, 28.28, 279.44) | |
| CIE XYZ | xyz(16.563, 16.572, 35.577) | |
| Decimal | 5992864 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B71A0, 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 #5B71A0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.31:1 | Fail | Fail | Pass |
| Sample text | 4.87:1 | Pass | Fail | Pass |
| #5B71A0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.87:1 | Pass | Fail | Pass |
| Sample text | 4.31: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 #5B71A0 looks to people with the most common types of color vision deficiency.
#6075a2Protanopia
no red cones#596e9fDeuteranopia
no green cones#437b82Tritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #5b71a0; }
.text { color: #5b71a0; }
.border { border: 2px solid #5b71a0; }
.transparent { background-color: rgb(91 113 160 / 50%); }
.gradient { background: linear-gradient(to right, #5b71a0, #675ba0); }
Similar colors
#65769aMisty Harbour#5f6db0Loch Ness#577396Clean Slate#5f6d91Haunt Mist#636ca8Twinkle Night#5879a2Montreux Blue#4a73a8Song of the Sea#567aadEndless River
Closest common color name: Denim.
Questions
- What color is #5B71A0?
- #5B71A0 is a desaturated blue, closest to the named color Misty Harbour. It belongs to the blue family of colors.
- What is the RGB value of #5B71A0?
- The RGB value is 91, 113, 160: 91 red, 113 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #5B71A0?
- The complementary color is #A08A5B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B71A0?
- White text. Black text has a contrast ratio of 4.31:1 and white text 4.87:1. WCAG asks for at least 4.5:1 for normal text.