#1A211F

#1a211f ≈ Gunmetal

  • gray
  • Lightness: very low
  • Saturation: almost no
  • Neutral

#1a211f is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 10.2% red, 12.94% green and 12.16% blue; printed in CMYK it uses 21.21% cyan, 0% magenta, 6.06% yellow and 87.06% black. Its hue angle is 162.86°, with 11.86% saturation and 11.57% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 16.39:1 (WCAG AAA). The closest named color is Gunmetal (#2a3439), ΔE 7.55.

Description generated from the measured properties of this color.

Conversions of #1a211f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333333
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0141

Readable text 16.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1f1f1f ≈ 0.003% of males
Achromatomaly #1d201f ≈ 0.001% of males
Protanopia #20201f ≈ 1.01% of males
Deuteranopia #1f1f1f ≈ 1.27% of males
Tritanopia #182120 ≈ 0.0001% of males
Protanomaly #1e201f ≈ 1.08% of males
Deuteranomaly #1d201f ≈ 4.63% of males
Tritanomaly #192120 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1a211f {
  color: #1a211f;
}
Background
.bg-1a211f {
  background-color: #1a211f;
  color: #ffffff;
}
Border
.border-1a211f {
  border: 2px solid #1a211f;
}
CSS variables
:root {
  --color-primary: #1a211f;
  --color-primary-rgb: 26 33 31;
  --color-primary-hsl: 163 12% 12%;
}
Gradient
.gradient-1a211f {
  background: linear-gradient(135deg, #1a211f, #1a2021);
}
Colored shadow
.shadow-1a211f {
  box-shadow: 0 8px 24px rgb(26 33 31 / 0.35);
}

Gunmetal
#1a211f  rgb(26, 33, 31)  hsl(163, 12%, 12%)  Gunmetal
#211a1c  rgb(33, 26, 28)  hsl(343, 12%, 12%)  Licorice
#1f1a21  rgb(31, 26, 33)  hsl(283, 12%, 12%)  Licorice
#211f1a  rgb(33, 31, 26)  hsl(43, 12%, 12%)  Smoky Black