#040f02 ≈ Black
#040f02 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, 5.88% green and 0.78% blue; printed in CMYK it uses 73.33% cyan, 0% magenta, 86.67% yellow and 94.12% black. Its hue angle is 110.77°, with 76.47% saturation and 3.33% 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 19.55:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 7.42.
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.0037 |
Shades
#040f02 mixed progressively with black.
Tints
#040f02 mixed progressively with white.
Tones
#040f02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040f02 {
color: #040f02;
}
.bg-040f02 {
background-color: #040f02;
color: #ffffff;
}
.border-040f02 {
border: 2px solid #040f02;
}
:root {
--color-primary: #040f02;
--color-primary-rgb: 4 15 2;
--color-primary-hsl: 111 76% 3%;
}
.gradient-040f02 {
background: linear-gradient(135deg, #040f02, #020f06);
}
.shadow-040f02 {
box-shadow: 0 8px 24px rgb(4 15 2 / 0.35);
}
Black
#040f02 rgb(4, 15, 2) hsl(111, 76%, 3%) Black
#0d020f rgb(13, 2, 15) hsl(291, 76%, 3%) Licorice
#02040f rgb(2, 4, 15) hsl(231, 76%, 3%) Rich Black
#0f0204 rgb(15, 2, 4) hsl(351, 76%, 3%) Licorice