#404041 ≈ Onyx
#404041 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.1% green and 25.49% blue; printed in CMYK it uses 1.54% cyan, 1.54% magenta, 0% yellow and 74.51% black. Its hue angle is 240°, with 0.78% saturation and 25.29% 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.36:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 3.39.
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.0514 |
Shades
#404041 mixed progressively with black.
Tints
#404041 mixed progressively with white.
Tones
#404041 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-404041 {
color: #404041;
}
.bg-404041 {
background-color: #404041;
color: #ffffff;
}
.border-404041 {
border: 2px solid #404041;
}
:root {
--color-primary: #404041;
--color-primary-rgb: 64 64 65;
--color-primary-hsl: 240 1% 25%;
}
.gradient-404041 {
background: linear-gradient(135deg, #404041, #404041);
}
.shadow-404041 {
box-shadow: 0 8px 24px rgb(64 64 65 / 0.35);
}
Onyx
#404041 rgb(64, 64, 65) hsl(240, 1%, 25%) Onyx
#414140 rgb(65, 65, 64) hsl(60, 1%, 25%) Onyx
#414040 rgb(65, 64, 64) hsl(0, 1%, 25%) Onyx
#404140 rgb(64, 65, 64) hsl(120, 1%, 25%) Onyx