#2f3837 ≈ Onyx
#2f3837 is a color from the gray family, with low lightness and almost no saturation. In the RGB model it is made of 18.43% red, 21.96% green and 21.57% blue; printed in CMYK it uses 16.07% cyan, 0% magenta, 1.79% yellow and 78.04% black. Its hue angle is 173.33°, with 8.74% saturation and 20.2% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 12.06:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 3.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0371 |
Shades
#2f3837 mixed progressively with black.
Tints
#2f3837 mixed progressively with white.
Tones
#2f3837 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f3837 {
color: #2f3837;
}
.bg-2f3837 {
background-color: #2f3837;
color: #ffffff;
}
.border-2f3837 {
border: 2px solid #2f3837;
}
:root {
--color-primary: #2f3837;
--color-primary-rgb: 47 56 55;
--color-primary-hsl: 173 9% 20%;
}
.gradient-2f3837 {
background: linear-gradient(135deg, #2f3837, #2f3538);
}
.shadow-2f3837 {
box-shadow: 0 8px 24px rgb(47 56 55 / 0.35);
}
Onyx
#2f3837 rgb(47, 56, 55) hsl(173, 9%, 20%) Onyx
#382f30 rgb(56, 47, 48) hsl(353, 9%, 20%) Jet
#372f38 rgb(55, 47, 56) hsl(293, 9%, 20%) Jet
#38372f rgb(56, 55, 47) hsl(53, 9%, 20%) Black Olive