#787e8e ≈ Slate Gray
#787e8e is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 47.06% red, 49.41% green and 55.69% blue; printed in CMYK it uses 15.49% cyan, 11.27% magenta, 0% yellow and 44.31% black. Its hue angle is 223.64°, with 8.87% 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.17:1 (WCAG AA). The closest named color is Slate Gray (#708090), ΔE 4.55.
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.2087 |
Shades
#787e8e mixed progressively with black.
Tints
#787e8e mixed progressively with white.
Tones
#787e8e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-787e8e {
color: #787e8e;
}
.bg-787e8e {
background-color: #787e8e;
color: #000000;
}
.border-787e8e {
border: 2px solid #787e8e;
}
:root {
--color-primary: #787e8e;
--color-primary-rgb: 120 126 142;
--color-primary-hsl: 224 9% 51%;
}
.gradient-787e8e {
background: linear-gradient(135deg, #787e8e, #7d788e);
}
.shadow-787e8e {
box-shadow: 0 8px 24px rgb(120 126 142 / 0.35);
}
Slate Gray
#787e8e rgb(120, 126, 142) hsl(224, 9%, 51%) Slate Gray
#8e8878 rgb(142, 136, 120) hsl(44, 9%, 51%) Battleship Gray
#8e787e rgb(142, 120, 126) hsl(344, 9%, 51%) Mountbatten Pink
#7e8e78 rgb(126, 142, 120) hsl(104, 9%, 51%) Xanadu