#212728

#212728 ≈ Gunmetal

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

#212728 is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 12.94% red, 15.29% green and 15.69% blue; printed in CMYK it uses 17.5% cyan, 2.5% magenta, 0% yellow and 84.31% black. Its hue angle is 188.57°, with 9.59% saturation and 14.31% 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 15.16:1 (WCAG AAA). The closest named color is Gunmetal (#2a3439), ΔE 4.78.

Description generated from the measured properties of this color.

Conversions of #212728 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.0193

Readable text 15.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #262626 ≈ 0.003% of males
Achromatomaly #242627 ≈ 0.001% of males
Protanopia #262628 ≈ 1.01% of males
Deuteranopia #252528 ≈ 1.27% of males
Tritanopia #1f2827 ≈ 0.0001% of males
Protanomaly #242728 ≈ 1.08% of males
Deuteranomaly #232628 ≈ 4.63% of males
Tritanomaly #202728 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-212728 {
  color: #212728;
}
Background
.bg-212728 {
  background-color: #212728;
  color: #ffffff;
}
Border
.border-212728 {
  border: 2px solid #212728;
}
CSS variables
:root {
  --color-primary: #212728;
  --color-primary-rgb: 33 39 40;
  --color-primary-hsl: 189 10% 14%;
}
Gradient
.gradient-212728 {
  background: linear-gradient(135deg, #212728, #212328);
}
Colored shadow
.shadow-212728 {
  box-shadow: 0 8px 24px rgb(33 39 40 / 0.35);
}

Gunmetal
#212728  rgb(33, 39, 40)  hsl(189, 10%, 14%)  Gunmetal
#282221  rgb(40, 34, 33)  hsl(9, 10%, 14%)  Licorice
#282127  rgb(40, 33, 39)  hsl(309, 10%, 14%)  Licorice
#272821  rgb(39, 40, 33)  hsl(69, 10%, 14%)  Jet