#797b8f ≈ Slate Gray
#797b8f 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 56.08% blue; printed in CMYK it uses 15.38% cyan, 13.99% magenta, 0% yellow and 43.92% black. Its hue angle is 234.55°, with 8.94% saturation and 51.76% 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.04:1 (WCAG AA). The closest named color is Slate Gray (#708090), ΔE 7.59.
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.2021 |
Shades
#797b8f mixed progressively with black.
Tints
#797b8f mixed progressively with white.
Tones
#797b8f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797b8f {
color: #797b8f;
}
.bg-797b8f {
background-color: #797b8f;
color: #000000;
}
.border-797b8f {
border: 2px solid #797b8f;
}
:root {
--color-primary: #797b8f;
--color-primary-rgb: 121 123 143;
--color-primary-hsl: 235 9% 52%;
}
.gradient-797b8f {
background: linear-gradient(135deg, #797b8f, #82798f);
}
.shadow-797b8f {
box-shadow: 0 8px 24px rgb(121 123 143 / 0.35);
}
Slate Gray
#797b8f rgb(121, 123, 143) hsl(235, 9%, 52%) Slate Gray
#8f8d79 rgb(143, 141, 121) hsl(55, 9%, 52%) Battleship Gray
#8f797b rgb(143, 121, 123) hsl(355, 9%, 52%) Taupe Gray
#7b8f79 rgb(123, 143, 121) hsl(115, 9%, 52%) Xanadu