#404245 ≈ Onyx
#404245 is a color from the gray family, with low lightness and almost no saturation. In the RGB model it is made of 25.1% red, 25.88% green and 27.06% blue; printed in CMYK it uses 7.25% cyan, 4.35% magenta, 0% yellow and 72.94% black. Its hue angle is 216°, with 3.76% saturation and 26.08% 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 10.08:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 3.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.0542 |
Shades
#404245 mixed progressively with black.
Tints
#404245 mixed progressively with white.
Tones
#404245 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-404245 {
color: #404245;
}
.bg-404245 {
background-color: #404245;
color: #ffffff;
}
.border-404245 {
border: 2px solid #404245;
}
:root {
--color-primary: #404245;
--color-primary-rgb: 64 66 69;
--color-primary-hsl: 216 4% 26%;
}
.gradient-404245 {
background: linear-gradient(135deg, #404245, #414045);
}
.shadow-404245 {
box-shadow: 0 8px 24px rgb(64 66 69 / 0.35);
}
Onyx
#404245 rgb(64, 66, 69) hsl(216, 4%, 26%) Onyx
#454340 rgb(69, 67, 64) hsl(36, 4%, 26%) Black Olive
#454042 rgb(69, 64, 66) hsl(336, 4%, 26%) Jet
#424540 rgb(66, 69, 64) hsl(96, 4%, 26%) Black Olive