#2b302e ≈ Onyx
#2b302e is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 16.86% red, 18.82% green and 18.04% blue; printed in CMYK it uses 10.42% cyan, 0% magenta, 4.17% yellow and 81.18% black. Its hue angle is 156°, with 5.49% saturation and 17.84% 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 13.42:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 3.85.
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.0282 |
Shades
#2b302e mixed progressively with black.
Tints
#2b302e mixed progressively with white.
Tones
#2b302e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2b302e {
color: #2b302e;
}
.bg-2b302e {
background-color: #2b302e;
color: #ffffff;
}
.border-2b302e {
border: 2px solid #2b302e;
}
:root {
--color-primary: #2b302e;
--color-primary-rgb: 43 48 46;
--color-primary-hsl: 156 5% 18%;
}
.gradient-2b302e {
background: linear-gradient(135deg, #2b302e, #2b2f30);
}
.shadow-2b302e {
box-shadow: 0 8px 24px rgb(43 48 46 / 0.35);
}
Onyx
#2b302e rgb(43, 48, 46) hsl(156, 5%, 18%) Onyx
#302b2d rgb(48, 43, 45) hsl(336, 5%, 18%) Jet
#2e2b30 rgb(46, 43, 48) hsl(276, 5%, 18%) Jet
#302e2b rgb(48, 46, 43) hsl(36, 5%, 18%) Jet