#040107 ≈ Black
#040107 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.39% green and 2.75% blue; printed in CMYK it uses 42.86% cyan, 85.71% magenta, 0% yellow and 97.25% black. Its hue angle is 270°, with 75% saturation and 1.57% 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.74:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 2.95.
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.0006 |
Shades
#040107 mixed progressively with black.
Tints
#040107 mixed progressively with white.
Tones
#040107 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040107 {
color: #040107;
}
.bg-040107 {
background-color: #040107;
color: #ffffff;
}
.border-040107 {
border: 2px solid #040107;
}
:root {
--color-primary: #040107;
--color-primary-rgb: 4 1 7;
--color-primary-hsl: 270 75% 2%;
}
.gradient-040107 {
background: linear-gradient(135deg, #040107, #070107);
}
.shadow-040107 {
box-shadow: 0 8px 24px rgb(4 1 7 / 0.35);
}
Black
#040107 rgb(4, 1, 7) hsl(270, 75%, 2%) Black
#040701 rgb(4, 7, 1) hsl(90, 75%, 2%) Black
#070401 rgb(7, 4, 1) hsl(30, 75%, 2%) Smoky Black
#010704 rgb(1, 7, 4) hsl(150, 75%, 2%) Black