#31353c ≈ Onyx
#31353c is a color from the azure family, with low lightness and almost no saturation. In the RGB model it is made of 19.22% red, 20.78% green and 23.53% blue; printed in CMYK it uses 18.33% cyan, 11.67% magenta, 0% yellow and 76.47% black. Its hue angle is 218.18°, with 10.09% saturation and 21.37% lightness in HSL. It is a neutral color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and corporate identities. White text on this color reaches a contrast ratio of 12.32:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 3.9.
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.0353 |
Shades
#31353c mixed progressively with black.
Tints
#31353c mixed progressively with white.
Tones
#31353c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31353c {
color: #31353c;
}
.bg-31353c {
background-color: #31353c;
color: #ffffff;
}
.border-31353c {
border: 2px solid #31353c;
}
:root {
--color-primary: #31353c;
--color-primary-rgb: 49 53 60;
--color-primary-hsl: 218 10% 21%;
}
.gradient-31353c {
background: linear-gradient(135deg, #31353c, #32313c);
}
.shadow-31353c {
box-shadow: 0 8px 24px rgb(49 53 60 / 0.35);
}
Onyx
#31353c rgb(49, 53, 60) hsl(218, 10%, 21%) Onyx
#3c3831 rgb(60, 56, 49) hsl(38, 10%, 21%) Black Olive
#3c3135 rgb(60, 49, 53) hsl(338, 10%, 21%) Jet
#353c31 rgb(53, 60, 49) hsl(98, 10%, 21%) Black Olive