#2f3236 ≈ Onyx
#2f3236 is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 18.43% red, 19.61% green and 21.18% blue; printed in CMYK it uses 12.96% cyan, 7.41% magenta, 0% yellow and 78.82% black. Its hue angle is 214.29°, with 6.93% saturation and 19.8% 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.88:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 2.78.
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.0315 |
Shades
#2f3236 mixed progressively with black.
Tints
#2f3236 mixed progressively with white.
Tones
#2f3236 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f3236 {
color: #2f3236;
}
.bg-2f3236 {
background-color: #2f3236;
color: #ffffff;
}
.border-2f3236 {
border: 2px solid #2f3236;
}
:root {
--color-primary: #2f3236;
--color-primary-rgb: 47 50 54;
--color-primary-hsl: 214 7% 20%;
}
.gradient-2f3236 {
background: linear-gradient(135deg, #2f3236, #2f2f36);
}
.shadow-2f3236 {
box-shadow: 0 8px 24px rgb(47 50 54 / 0.35);
}
Onyx
#2f3236 rgb(47, 50, 54) hsl(214, 7%, 20%) Onyx
#36332f rgb(54, 51, 47) hsl(34, 7%, 20%) Jet
#362f32 rgb(54, 47, 50) hsl(334, 7%, 20%) Jet
#32362f rgb(50, 54, 47) hsl(94, 7%, 20%) Black Olive