#1a211f ≈ Gunmetal
#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.
| 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 luminance | 0.0141 |
Shades
#1a211f mixed progressively with black.
Tints
#1a211f mixed progressively with white.
Tones
#1a211f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1a211f {
color: #1a211f;
}
.bg-1a211f {
background-color: #1a211f;
color: #ffffff;
}
.border-1a211f {
border: 2px solid #1a211f;
}
:root {
--color-primary: #1a211f;
--color-primary-rgb: 26 33 31;
--color-primary-hsl: 163 12% 12%;
}
.gradient-1a211f {
background: linear-gradient(135deg, #1a211f, #1a2021);
}
.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