#282e2a ≈ Onyx
#282e2a 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.04% green and 16.47% blue; printed in CMYK it uses 13.04% cyan, 0% magenta, 8.7% yellow and 81.96% black. Its hue angle is 140°, with 6.98% saturation and 16.86% 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.87:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 5.49.
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.0257 |
Shades
#282e2a mixed progressively with black.
Tints
#282e2a mixed progressively with white.
Tones
#282e2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-282e2a {
color: #282e2a;
}
.bg-282e2a {
background-color: #282e2a;
color: #ffffff;
}
.border-282e2a {
border: 2px solid #282e2a;
}
:root {
--color-primary: #282e2a;
--color-primary-rgb: 40 46 42;
--color-primary-hsl: 140 7% 17%;
}
.gradient-282e2a {
background: linear-gradient(135deg, #282e2a, #282e2d);
}
.shadow-282e2a {
box-shadow: 0 8px 24px rgb(40 46 42 / 0.35);
}
Onyx
#282e2a rgb(40, 46, 42) hsl(140, 7%, 17%) Onyx
#2e282c rgb(46, 40, 44) hsl(320, 7%, 17%) Jet
#2a282e rgb(42, 40, 46) hsl(260, 7%, 17%) Jet
#2e2a28 rgb(46, 42, 40) hsl(20, 7%, 17%) Jet