#040506 ≈ Black
#040506 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, 1.96% green and 2.35% blue; printed in CMYK it uses 33.33% cyan, 16.67% magenta, 0% yellow and 97.65% black. Its hue angle is 210°, with 20% saturation and 1.96% lightness in HSL. It is a neutral color, often associated with sophistication, power and elegance. Designers typically use it for body text and typography, luxury branding and corporate identities. White text on this color reaches a contrast ratio of 20.4:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 0.92.
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.0015 |
Shades
#040506 mixed progressively with black.
Tints
#040506 mixed progressively with white.
Tones
#040506 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040506 {
color: #040506;
}
.bg-040506 {
background-color: #040506;
color: #ffffff;
}
.border-040506 {
border: 2px solid #040506;
}
:root {
--color-primary: #040506;
--color-primary-rgb: 4 5 6;
--color-primary-hsl: 210 20% 2%;
}
.gradient-040506 {
background: linear-gradient(135deg, #040506, #040406);
}
.shadow-040506 {
box-shadow: 0 8px 24px rgb(4 5 6 / 0.35);
}
Black
#040506 rgb(4, 5, 6) hsl(210, 20%, 2%) Black
#060504 rgb(6, 5, 4) hsl(30, 20%, 2%) Black
#060405 rgb(6, 4, 5) hsl(330, 20%, 2%) Black
#050604 rgb(5, 6, 4) hsl(90, 20%, 2%) Black