#797c9e ≈ Cool Gray
#797c9e is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 48.63% green and 61.96% blue; printed in CMYK it uses 23.42% cyan, 21.52% magenta, 0% yellow and 38.04% black. Its hue angle is 235.14°, with 16.02% saturation and 54.71% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. Black text on this color reaches a contrast ratio of 5.19:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 8.11.
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.2095 |
Shades
#797c9e mixed progressively with black.
Tints
#797c9e mixed progressively with white.
Tones
#797c9e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797c9e {
color: #797c9e;
}
.bg-797c9e {
background-color: #797c9e;
color: #000000;
}
.border-797c9e {
border: 2px solid #797c9e;
}
:root {
--color-primary: #797c9e;
--color-primary-rgb: 121 124 158;
--color-primary-hsl: 235 16% 55%;
}
.gradient-797c9e {
background: linear-gradient(135deg, #797c9e, #89799e);
}
.shadow-797c9e {
box-shadow: 0 8px 24px rgb(121 124 158 / 0.35);
}
Cool Gray
#797c9e rgb(121, 124, 158) hsl(235, 16%, 55%) Cool Gray
#9e9b79 rgb(158, 155, 121) hsl(55, 16%, 55%) Sage
#9e797c rgb(158, 121, 124) hsl(355, 16%, 55%) Mountbatten Pink
#7c9e79 rgb(124, 158, 121) hsl(115, 16%, 55%) Asparagus