#040a07 ≈ Black
#040a07 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, 3.92% green and 2.75% blue; printed in CMYK it uses 60% cyan, 0% magenta, 30% yellow and 96.08% black. Its hue angle is 150°, with 42.86% saturation and 2.75% 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.97:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 3.15.
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.0026 |
Shades
#040a07 mixed progressively with black.
Tints
#040a07 mixed progressively with white.
Tones
#040a07 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040a07 {
color: #040a07;
}
.bg-040a07 {
background-color: #040a07;
color: #ffffff;
}
.border-040a07 {
border: 2px solid #040a07;
}
:root {
--color-primary: #040a07;
--color-primary-rgb: 4 10 7;
--color-primary-hsl: 150 43% 3%;
}
.gradient-040a07 {
background: linear-gradient(135deg, #040a07, #040a0a);
}
.shadow-040a07 {
box-shadow: 0 8px 24px rgb(4 10 7 / 0.35);
}
Black
#040a07 rgb(4, 10, 7) hsl(150, 43%, 3%) Black
#0a0407 rgb(10, 4, 7) hsl(330, 43%, 3%) Black
#07040a rgb(7, 4, 10) hsl(270, 43%, 3%) Black
#0a0704 rgb(10, 7, 4) hsl(30, 43%, 3%) Smoky Black