#404145 ≈ Onyx
#404145 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.49% green and 27.06% blue; printed in CMYK it uses 7.25% cyan, 5.8% magenta, 0% yellow and 72.94% black. Its hue angle is 228°, 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.19:1 (WCAG AAA). The closest named color is Onyx (#353839), ΔE 4.11.
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.053 |
Shades
#404145 mixed progressively with black.
Tints
#404145 mixed progressively with white.
Tones
#404145 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-404145 {
color: #404145;
}
.bg-404145 {
background-color: #404145;
color: #ffffff;
}
.border-404145 {
border: 2px solid #404145;
}
:root {
--color-primary: #404145;
--color-primary-rgb: 64 65 69;
--color-primary-hsl: 228 4% 26%;
}
.gradient-404145 {
background: linear-gradient(135deg, #404145, #424045);
}
.shadow-404145 {
box-shadow: 0 8px 24px rgb(64 65 69 / 0.35);
}
Onyx
#404145 rgb(64, 65, 69) hsl(228, 4%, 26%) Onyx
#454440 rgb(69, 68, 64) hsl(48, 4%, 26%) Black Olive
#454041 rgb(69, 64, 65) hsl(348, 4%, 26%) Jet
#414540 rgb(65, 69, 64) hsl(108, 4%, 26%) Black Olive