#040A07

#040a07 ≈ Black

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

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

Conversions of #040a07 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.0026

Readable text 19.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.05:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #090909 ≈ 0.003% of males
Achromatomaly #070908 ≈ 0.001% of males
Protanopia #0a0907 ≈ 1.01% of males
Deuteranopia #080807 ≈ 1.27% of males
Tritanopia #030a09 ≈ 0.0001% of males
Protanomaly #070907 ≈ 1.08% of males
Deuteranomaly #070907 ≈ 4.63% of males
Tritanomaly #030a08 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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