#040F02

#040f02 ≈ Black

  • black
  • Lightness: very low
  • Saturation: muted
  • Neutral

#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.

Conversions of #040f02 into other color spaces
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 luminance0.0037

Readable text 19.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #0c0c0c ≈ 0.003% of males
Achromatomaly #090d08 ≈ 0.001% of males
Protanopia #100d01 ≈ 1.01% of males
Deuteranopia #0e0c03 ≈ 1.27% of males
Tritanopia #030e0b ≈ 0.0001% of males
Protanomaly #0c0e02 ≈ 1.08% of males
Deuteranomaly #0a0d02 ≈ 4.63% of males
Tritanomaly #040e08 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040f02 {
  color: #040f02;
}
Background
.bg-040f02 {
  background-color: #040f02;
  color: #ffffff;
}
Border
.border-040f02 {
  border: 2px solid #040f02;
}
CSS variables
:root {
  --color-primary: #040f02;
  --color-primary-rgb: 4 15 2;
  --color-primary-hsl: 111 76% 3%;
}
Gradient
.gradient-040f02 {
  background: linear-gradient(135deg, #040f02, #020f06);
}
Colored shadow
.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