#2f3335 ≈ Onyx
#2f3335 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 20.78% blue; printed in CMYK it uses 11.32% cyan, 3.77% magenta, 0% yellow and 79.22% black. Its hue angle is 200°, with 6% saturation and 19.61% 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.76:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 1.82.
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.0323 |
Shades
#2f3335 mixed progressively with black.
Tints
#2f3335 mixed progressively with white.
Tones
#2f3335 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f3335 {
color: #2f3335;
}
.bg-2f3335 {
background-color: #2f3335;
color: #ffffff;
}
.border-2f3335 {
border: 2px solid #2f3335;
}
:root {
--color-primary: #2f3335;
--color-primary-rgb: 47 51 53;
--color-primary-hsl: 200 6% 20%;
}
.gradient-2f3335 {
background: linear-gradient(135deg, #2f3335, #2f3035);
}
.shadow-2f3335 {
box-shadow: 0 8px 24px rgb(47 51 53 / 0.35);
}
Onyx
#2f3335 rgb(47, 51, 53) hsl(200, 6%, 20%) Onyx
#35312f rgb(53, 49, 47) hsl(20, 6%, 20%) Jet
#352f33 rgb(53, 47, 51) hsl(320, 6%, 20%) Jet
#33352f rgb(51, 53, 47) hsl(80, 6%, 20%) Black Olive