#878c8a ≈ Battleship Gray
#878c8a is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 52.94% red, 54.9% green and 54.12% blue; printed in CMYK it uses 3.57% cyan, 0% magenta, 1.43% yellow and 45.1% black. Its hue angle is 156°, with 2.13% saturation and 53.92% 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 6.15:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 3.62.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999999 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2574 |
Shades
#878c8a mixed progressively with black.
Tints
#878c8a mixed progressively with white.
Tones
#878c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-878c8a {
color: #878c8a;
}
.bg-878c8a {
background-color: #878c8a;
color: #000000;
}
.border-878c8a {
border: 2px solid #878c8a;
}
:root {
--color-primary: #878c8a;
--color-primary-rgb: 135 140 138;
--color-primary-hsl: 156 2% 54%;
}
.gradient-878c8a {
background: linear-gradient(135deg, #878c8a, #878b8c);
}
.shadow-878c8a {
box-shadow: 0 8px 24px rgb(135 140 138 / 0.35);
}
Battleship Gray
#878c8a rgb(135, 140, 138) hsl(156, 2%, 54%) Battleship Gray
#8c8789 rgb(140, 135, 137) hsl(336, 2%, 54%) Taupe Gray
#8a878c rgb(138, 135, 140) hsl(276, 2%, 54%) Taupe Gray
#8c8a87 rgb(140, 138, 135) hsl(36, 2%, 54%) Battleship Gray