#5B797E color
The hex color #5B797E is a grayish cyan.
In the RGB color model it is made of 35.7% red, 47.5% green and 49.4% blue (91, 121, 126).
Its hue angle is 189°, with 16% saturation and 43% lightness. For print, the CMYK equivalent is 28% cyan, 4% magenta, 0% yellow and 51% black.
The closest named color is North Atlantic (#5E7B7F), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.69:1).
#5B797E color codes
| HEX | #5B797E | |
|---|---|---|
| RGB | rgb(91, 121, 126) | |
| RGB percent | rgb(35.7%, 47.5%, 49.4%) | |
| HSL | hsl(189, 16%, 43%) | |
| HSV / HSB | hsv(189, 28%, 49%) | |
| CMYK | cmyk(28%, 4%, 0%, 51%) | |
| CIE LAB | lab(48.77, -9.46, -6.24) | |
| CIE LCH | lch(48.77, 11.34, 213.4) | |
| CIE XYZ | xyz(14.916, 17.405, 22.308) | |
| Decimal | 5994878 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B797E, 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 #5B797E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.48:1 | Fail | Fail | Pass |
| Sample text | 4.69:1 | Pass | Fail | Pass |
| #5B797E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.69:1 | Pass | Fail | Pass |
| Sample text | 4.48: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 #5B797E looks to people with the most common types of color vision deficiency.
#74777eProtanopia
no red cones#6e727eDeuteranopia
no green cones#507c7aTritanopia
no blue cones#747474Achromatopsia
no color vision
CSS examples
.background { background-color: #5b797e; }
.text { color: #5b797e; }
.border { border: 2px solid #5b797e; }
.transparent { background-color: rgb(91 121 126 / 50%); }
.gradient { background: linear-gradient(to right, #5b797e, #5b687e); }
Similar colors
#5e7b7fNorth Atlantic#657d82Catfish#5e7e7dStream Burble#4e7376Rogue Waters#49747fHydro#6b7f81Blue Blood#66787eNight Rendezvous#4b7079Winter Storm
Closest common color name: Juniper.
Questions
- What color is #5B797E?
- #5B797E is a grayish cyan, closest to the named color North Atlantic. It belongs to the gray family of colors.
- What is the RGB value of #5B797E?
- The RGB value is 91, 121, 126: 91 red, 121 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #5B797E?
- The complementary color is #7E605B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B797E?
- White text. Black text has a contrast ratio of 4.48:1 and white text 4.69:1. WCAG asks for at least 4.5:1 for normal text.