#2d3333 ≈ Onyx
#2d3333 is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 17.65% red, 20% green and 20% blue; printed in CMYK it uses 11.76% cyan, 0% magenta, 0% yellow and 80% black. Its hue angle is 180°, with 6.25% saturation and 18.82% 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.86:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 2.76.
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.0316 |
Shades
#2d3333 mixed progressively with black.
Tints
#2d3333 mixed progressively with white.
Tones
#2d3333 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d3333 {
color: #2d3333;
}
.bg-2d3333 {
background-color: #2d3333;
color: #ffffff;
}
.border-2d3333 {
border: 2px solid #2d3333;
}
:root {
--color-primary: #2d3333;
--color-primary-rgb: 45 51 51;
--color-primary-hsl: 180 6% 19%;
}
.gradient-2d3333 {
background: linear-gradient(135deg, #2d3333, #2d3033);
}
.shadow-2d3333 {
box-shadow: 0 8px 24px rgb(45 51 51 / 0.35);
}
Onyx
#2d3333 rgb(45, 51, 51) hsl(180, 6%, 19%) Onyx
#332d2d rgb(51, 45, 45) hsl(0, 6%, 19%) Jet
#332d33 rgb(51, 45, 51) hsl(300, 6%, 19%) Jet
#33332d rgb(51, 51, 45) hsl(60, 6%, 19%) Black Olive