#313536 ≈ Onyx
#313536 is a color from the gray family, with low lightness and almost no saturation. In the RGB model it is made of 19.22% red, 20.78% green and 21.18% blue; printed in CMYK it uses 9.26% cyan, 1.85% magenta, 0% yellow and 78.82% black. Its hue angle is 192°, with 4.85% saturation and 20.2% 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.4:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 1.2.
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.0347 |
Shades
#313536 mixed progressively with black.
Tints
#313536 mixed progressively with white.
Tones
#313536 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-313536 {
color: #313536;
}
.bg-313536 {
background-color: #313536;
color: #ffffff;
}
.border-313536 {
border: 2px solid #313536;
}
:root {
--color-primary: #313536;
--color-primary-rgb: 49 53 54;
--color-primary-hsl: 192 5% 20%;
}
.gradient-313536 {
background: linear-gradient(135deg, #313536, #313336);
}
.shadow-313536 {
box-shadow: 0 8px 24px rgb(49 53 54 / 0.35);
}
Onyx
#313536 rgb(49, 53, 54) hsl(192, 5%, 20%) Onyx
#363231 rgb(54, 50, 49) hsl(12, 5%, 20%) Jet
#363135 rgb(54, 49, 53) hsl(312, 5%, 20%) Jet
#353631 rgb(53, 54, 49) hsl(72, 5%, 20%) Black Olive