#797c8d ≈ Slate Gray
#797c8d 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.63% green and 55.29% blue; printed in CMYK it uses 14.18% cyan, 12.06% magenta, 0% yellow and 44.71% black. Its hue angle is 231°, with 8.06% saturation and 51.37% 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.08:1 (WCAG AA). The closest named color is Slate Gray (#708090), ΔE 6.37.
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.204 |
Shades
#797c8d mixed progressively with black.
Tints
#797c8d mixed progressively with white.
Tones
#797c8d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797c8d {
color: #797c8d;
}
.bg-797c8d {
background-color: #797c8d;
color: #000000;
}
.border-797c8d {
border: 2px solid #797c8d;
}
:root {
--color-primary: #797c8d;
--color-primary-rgb: 121 124 141;
--color-primary-hsl: 231 8% 51%;
}
.gradient-797c8d {
background: linear-gradient(135deg, #797c8d, #80798d);
}
.shadow-797c8d {
box-shadow: 0 8px 24px rgb(121 124 141 / 0.35);
}
Slate Gray
#797c8d rgb(121, 124, 141) hsl(231, 8%, 51%) Slate Gray
#8d8a79 rgb(141, 138, 121) hsl(51, 8%, 51%) Battleship Gray
#8d797c rgb(141, 121, 124) hsl(351, 8%, 51%) Taupe Gray
#7c8d79 rgb(124, 141, 121) hsl(111, 8%, 51%) Xanadu