#2f3331 ≈ Onyx
#2f3331 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, 20% green and 19.22% blue; printed in CMYK it uses 7.84% cyan, 0% magenta, 3.92% yellow and 80% black. Its hue angle is 150°, with 4.08% saturation and 19.22% 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.81:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 2.9.
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.0319 |
Shades
#2f3331 mixed progressively with black.
Tints
#2f3331 mixed progressively with white.
Tones
#2f3331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f3331 {
color: #2f3331;
}
.bg-2f3331 {
background-color: #2f3331;
color: #ffffff;
}
.border-2f3331 {
border: 2px solid #2f3331;
}
:root {
--color-primary: #2f3331;
--color-primary-rgb: 47 51 49;
--color-primary-hsl: 150 4% 19%;
}
.gradient-2f3331 {
background: linear-gradient(135deg, #2f3331, #2f3333);
}
.shadow-2f3331 {
box-shadow: 0 8px 24px rgb(47 51 49 / 0.35);
}
Onyx
#2f3331 rgb(47, 51, 49) hsl(150, 4%, 19%) Onyx
#332f31 rgb(51, 47, 49) hsl(330, 4%, 19%) Jet
#312f33 rgb(49, 47, 51) hsl(270, 4%, 19%) Jet
#33312f rgb(51, 49, 47) hsl(30, 4%, 19%) Jet