#040207 ≈ Black
#040207 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.78% green and 2.75% blue; printed in CMYK it uses 42.86% cyan, 71.43% magenta, 0% yellow and 97.25% black. Its hue angle is 264°, with 55.56% saturation and 1.76% 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.65:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 2.41.
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.0008 |
Shades
#040207 mixed progressively with black.
Tints
#040207 mixed progressively with white.
Tones
#040207 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040207 {
color: #040207;
}
.bg-040207 {
background-color: #040207;
color: #ffffff;
}
.border-040207 {
border: 2px solid #040207;
}
:root {
--color-primary: #040207;
--color-primary-rgb: 4 2 7;
--color-primary-hsl: 264 56% 2%;
}
.gradient-040207 {
background: linear-gradient(135deg, #040207, #060207);
}
.shadow-040207 {
box-shadow: 0 8px 24px rgb(4 2 7 / 0.35);
}
Black
#040207 rgb(4, 2, 7) hsl(264, 56%, 2%) Black
#050702 rgb(5, 7, 2) hsl(84, 56%, 2%) Black
#070402 rgb(7, 4, 2) hsl(24, 56%, 2%) Black
#020704 rgb(2, 7, 4) hsl(144, 56%, 2%) Black