#040002 ≈ Black
#040002 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, 0% green and 0.78% blue; printed in CMYK it uses 0% cyan, 100% magenta, 50% yellow and 98.43% black. Its hue angle is 330°, with 100% saturation and 0.78% 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.87:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 1.94.
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.0003 |
Shades
#040002 mixed progressively with black.
Tints
#040002 mixed progressively with white.
Tones
#040002 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040002 {
color: #040002;
}
.bg-040002 {
background-color: #040002;
color: #ffffff;
}
.border-040002 {
border: 2px solid #040002;
}
:root {
--color-primary: #040002;
--color-primary-rgb: 4 0 2;
--color-primary-hsl: 330 100% 1%;
}
.gradient-040002 {
background: linear-gradient(135deg, #040002, #040000);
}
.shadow-040002 {
box-shadow: 0 8px 24px rgb(4 0 2 / 0.35);
}
Black
#040002 rgb(4, 0, 2) hsl(330, 100%, 1%) Black
#000402 rgb(0, 4, 2) hsl(150, 100%, 1%) Black
#020400 rgb(2, 4, 0) hsl(90, 100%, 1%) Black
#000204 rgb(0, 2, 4) hsl(210, 100%, 1%) Black