#040002

#040002 ≈ Black

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

#040002 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% green and 0.78% blue; printed in CMYK it uses 0% cyan, 100% magenta, 50% yellow and 98.43% black. Its hue angle is 330°, with 100% saturation and 0.78% 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.87:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #040002 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.0003

Readable text 20.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.01:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #010101 ≈ 0.003% of males
Achromatomaly #020101 ≈ 0.001% of males
Protanopia #000102 ≈ 1.01% of males
Deuteranopia #010102 ≈ 1.27% of males
Tritanopia #050001 ≈ 0.0001% of males
Protanomaly #020002 ≈ 1.08% of males
Deuteranomaly #020102 ≈ 4.63% of males
Tritanomaly #040001 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040002 {
  color: #040002;
}
Background
.bg-040002 {
  background-color: #040002;
  color: #ffffff;
}
Border
.border-040002 {
  border: 2px solid #040002;
}
CSS variables
:root {
  --color-primary: #040002;
  --color-primary-rgb: 4 0 2;
  --color-primary-hsl: 330 100% 1%;
}
Gradient
.gradient-040002 {
  background: linear-gradient(135deg, #040002, #040000);
}
Colored shadow
.shadow-040002 {
  box-shadow: 0 8px 24px rgb(4 0 2 / 0.35);
}

Black
#040002  rgb(4, 0, 2)  hsl(330, 100%, 1%)  Black
#000402  rgb(0, 4, 2)  hsl(150, 100%, 1%)  Black
#020400  rgb(2, 4, 0)  hsl(90, 100%, 1%)  Black
#000204  rgb(0, 2, 4)  hsl(210, 100%, 1%)  Black