#5B717C color
The hex color #5B717C is a grayish azure.
In the RGB color model it is made of 35.7% red, 44.3% green and 48.6% blue (91, 113, 124).
Its hue angle is 200°, with 15% saturation and 42% lightness. For print, the CMYK equivalent is 27% cyan, 9% magenta, 0% yellow and 51% black.
The closest named color is Night Rendezvous (#66787E), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.12:1).
#5B717C color codes
| HEX | #5B717C | |
|---|---|---|
| RGB | rgb(91, 113, 124) | |
| RGB percent | rgb(35.7%, 44.3%, 48.6%) | |
| HSL | hsl(200, 15%, 42%) | |
| HSV / HSB | hsv(200, 27%, 49%) | |
| CMYK | cmyk(27%, 9%, 0%, 51%) | |
| CIE LAB | lab(46.3, -5.37, -8.74) | |
| CIE LCH | lch(46.3, 10.25, 238.43) | |
| CIE XYZ | xyz(13.857, 15.489, 21.324) | |
| Decimal | 5992828 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B717C, 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 #5B717C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.1:1 | Fail | Fail | Pass |
| Sample text | 5.12:1 | Pass | Fail | Pass |
| #5B717C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.12:1 | Pass | Fail | Pass |
| Sample text | 4.1: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 #5B717C looks to people with the most common types of color vision deficiency.
#6b707dProtanopia
no red cones#676c7cDeuteranopia
no green cones#517474Tritanopia
no blue cones#6e6e6eAchromatopsia
no color vision
CSS examples
.background { background-color: #5b717c; }
.text { color: #5b717c; }
.border { border: 2px solid #5b717c; }
.transparent { background-color: rgb(91 113 124 / 50%); }
.gradient { background: linear-gradient(to right, #5b717c, #5b617c); }
Similar colors
#66787eNight Rendezvous#526771Silent Night#5d7b89Night Owl#4f6f85Shipyard#5c7287Plumbeous#656e72Batman#607c8eWhale Shark#5f6d6eWrapped in Twilight
Closest common color name: Slate Gray.
Questions
- What color is #5B717C?
- #5B717C is a grayish azure, closest to the named color Night Rendezvous. It belongs to the gray family of colors.
- What is the RGB value of #5B717C?
- The RGB value is 91, 113, 124: 91 red, 113 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #5B717C?
- The complementary color is #7C665B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B717C?
- White text. Black text has a contrast ratio of 4.1:1 and white text 5.12:1. WCAG asks for at least 4.5:1 for normal text.