#282f2b ≈ Onyx
#282f2b is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 15.69% red, 18.43% green and 16.86% blue; printed in CMYK it uses 14.89% cyan, 0% magenta, 8.51% yellow and 81.57% black. Its hue angle is 145.71°, with 8.05% saturation and 17.06% 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.71:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 5.59.
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.0266 |
Shades
#282f2b mixed progressively with black.
Tints
#282f2b mixed progressively with white.
Tones
#282f2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-282f2b {
color: #282f2b;
}
.bg-282f2b {
background-color: #282f2b;
color: #ffffff;
}
.border-282f2b {
border: 2px solid #282f2b;
}
:root {
--color-primary: #282f2b;
--color-primary-rgb: 40 47 43;
--color-primary-hsl: 146 8% 17%;
}
.gradient-282f2b {
background: linear-gradient(135deg, #282f2b, #282f2f);
}
.shadow-282f2b {
box-shadow: 0 8px 24px rgb(40 47 43 / 0.35);
}
Onyx
#282f2b rgb(40, 47, 43) hsl(146, 8%, 17%) Onyx
#2f282c rgb(47, 40, 44) hsl(326, 8%, 17%) Jet
#2b282f rgb(43, 40, 47) hsl(266, 8%, 17%) Jet
#2f2b28 rgb(47, 43, 40) hsl(26, 8%, 17%) Jet