#797e9a ≈ Cool Gray
#797e9a is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 49.41% green and 60.39% blue; printed in CMYK it uses 21.43% cyan, 18.18% magenta, 0% yellow and 39.61% black. Its hue angle is 230.91°, with 14.04% saturation and 53.92% 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.26:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 7.06.
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.2132 |
Shades
#797e9a mixed progressively with black.
Tints
#797e9a mixed progressively with white.
Tones
#797e9a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797e9a {
color: #797e9a;
}
.bg-797e9a {
background-color: #797e9a;
color: #000000;
}
.border-797e9a {
border: 2px solid #797e9a;
}
:root {
--color-primary: #797e9a;
--color-primary-rgb: 121 126 154;
--color-primary-hsl: 231 14% 54%;
}
.gradient-797e9a {
background: linear-gradient(135deg, #797e9a, #84799a);
}
.shadow-797e9a {
box-shadow: 0 8px 24px rgb(121 126 154 / 0.35);
}
Cool Gray
#797e9a rgb(121, 126, 154) hsl(231, 14%, 54%) Cool Gray
#9a9579 rgb(154, 149, 121) hsl(51, 14%, 54%) Moss Green
#9a797e rgb(154, 121, 126) hsl(351, 14%, 54%) Mountbatten Pink
#7e9a79 rgb(126, 154, 121) hsl(111, 14%, 54%) Asparagus