#2D3040

#2d3040 ≈ Gunmetal

  • blue
  • Lightness: low
  • Saturation: muted
  • Cool

#2d3040 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 17.65% red, 18.82% green and 25.1% blue; printed in CMYK it uses 29.69% cyan, 25% magenta, 0% yellow and 74.9% black. Its hue angle is 230.53°, with 17.43% saturation and 21.37% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and corporate identities. White text on this color reaches a contrast ratio of 13.06:1 (WCAG AAA). The closest named color is Gunmetal (#2a3439), ΔE 8.88.

Description generated from the measured properties of this color.

Conversions of #2d3040 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.0304

Readable text 13.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #2f3037 ≈ 0.001% of males
Protanopia #2b3241 ≈ 1.01% of males
Deuteranopia #2a3040 ≈ 1.27% of males
Tritanopia #283335 ≈ 0.0001% of males
Protanomaly #2c3140 ≈ 1.08% of males
Deuteranomaly #2b3040 ≈ 4.63% of males
Tritanomaly #2a323a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d3040 {
  color: #2d3040;
}
Background
.bg-2d3040 {
  background-color: #2d3040;
  color: #ffffff;
}
Border
.border-2d3040 {
  border: 2px solid #2d3040;
}
CSS variables
:root {
  --color-primary: #2d3040;
  --color-primary-rgb: 45 48 64;
  --color-primary-hsl: 231 17% 21%;
}
Gradient
.gradient-2d3040 {
  background: linear-gradient(135deg, #2d3040, #332d40);
}
Colored shadow
.shadow-2d3040 {
  box-shadow: 0 8px 24px rgb(45 48 64 / 0.35);
}

Gunmetal
#2d3040  rgb(45, 48, 64)  hsl(231, 17%, 21%)  Gunmetal
#403d2d  rgb(64, 61, 45)  hsl(51, 17%, 21%)  Black Olive
#402d30  rgb(64, 45, 48)  hsl(351, 17%, 21%)  Bistre
#30402d  rgb(48, 64, 45)  hsl(111, 17%, 21%)  Rifle Green