#797b87 ≈ Slate Gray
#797b87 is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 47.45% red, 48.24% green and 52.94% blue; printed in CMYK it uses 10.37% cyan, 8.89% magenta, 0% yellow and 47.06% black. Its hue angle is 231.43°, with 5.51% saturation and 50.2% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography, corporate identities and brand accents. Black text on this color reaches a contrast ratio of 5:1 (WCAG AA). The closest named color is Slate Gray (#708090), ΔE 6.15.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1998 |
Shades
#797b87 mixed progressively with black.
Tints
#797b87 mixed progressively with white.
Tones
#797b87 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797b87 {
color: #797b87;
}
.bg-797b87 {
background-color: #797b87;
color: #000000;
}
.border-797b87 {
border: 2px solid #797b87;
}
:root {
--color-primary: #797b87;
--color-primary-rgb: 121 123 135;
--color-primary-hsl: 231 6% 50%;
}
.gradient-797b87 {
background: linear-gradient(135deg, #797b87, #7e7987);
}
.shadow-797b87 {
box-shadow: 0 8px 24px rgb(121 123 135 / 0.35);
}
Slate Gray
#797b87 rgb(121, 123, 135) hsl(231, 6%, 50%) Slate Gray
#878579 rgb(135, 133, 121) hsl(51, 6%, 50%) Battleship Gray
#87797b rgb(135, 121, 123) hsl(351, 6%, 50%) Taupe Gray
#7b8779 rgb(123, 135, 121) hsl(111, 6%, 50%) Xanadu