#040302 ≈ Black
#040302 is a color from the black family, with very low lightness and muted saturation. In the RGB model it is made of 1.57% red, 1.18% green and 0.78% blue; printed in CMYK it uses 0% cyan, 25% magenta, 50% yellow and 98.43% black. Its hue angle is 30°, with 33.33% saturation and 1.18% lightness in HSL. It is a neutral color, often associated with sophistication, power and elegance. Designers typically use it for body text and typography and luxury branding. White text on this color reaches a contrast ratio of 20.61:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 0.7.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000000 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.001 |
Shades
#040302 mixed progressively with black.
Tints
#040302 mixed progressively with white.
Tones
#040302 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040302 {
color: #040302;
}
.bg-040302 {
background-color: #040302;
color: #ffffff;
}
.border-040302 {
border: 2px solid #040302;
}
:root {
--color-primary: #040302;
--color-primary-rgb: 4 3 2;
--color-primary-hsl: 30 33% 1%;
}
.gradient-040302 {
background: linear-gradient(135deg, #040302, #040402);
}
.shadow-040302 {
box-shadow: 0 8px 24px rgb(4 3 2 / 0.35);
}
Black
#040302 rgb(4, 3, 2) hsl(30, 33%, 1%) Black
#020304 rgb(2, 3, 4) hsl(210, 33%, 1%) Black
#020403 rgb(2, 4, 3) hsl(150, 33%, 1%) Black
#030204 rgb(3, 2, 4) hsl(270, 33%, 1%) Black