#2F3440

#2f3440 ≈ Gunmetal

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

#2f3440 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 18.43% red, 20.39% green and 25.1% blue; printed in CMYK it uses 26.56% cyan, 18.75% magenta, 0% yellow and 74.9% black. Its hue angle is 222.35°, with 15.32% saturation and 21.76% 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 12.45:1 (WCAG AAA). The closest named color is Gunmetal (#2a3439), ΔE 6.

Description generated from the measured properties of this color.

Conversions of #2f3440 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.0343

Readable text 12.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #343434 ≈ 0.003% of males
Achromatomaly #323439 ≈ 0.001% of males
Protanopia #303541 ≈ 1.01% of males
Deuteranopia #2f3340 ≈ 1.27% of males
Tritanopia #2b3638 ≈ 0.0001% of males
Protanomaly #303440 ≈ 1.08% of males
Deuteranomaly #2f3440 ≈ 4.63% of males
Tritanomaly #2c353b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f3440 {
  color: #2f3440;
}
Background
.bg-2f3440 {
  background-color: #2f3440;
  color: #ffffff;
}
Border
.border-2f3440 {
  border: 2px solid #2f3440;
}
CSS variables
:root {
  --color-primary: #2f3440;
  --color-primary-rgb: 47 52 64;
  --color-primary-hsl: 222 15% 22%;
}
Gradient
.gradient-2f3440 {
  background: linear-gradient(135deg, #2f3440, #322f40);
}
Colored shadow
.shadow-2f3440 {
  box-shadow: 0 8px 24px rgb(47 52 64 / 0.35);
}

Gunmetal
#2f3440  rgb(47, 52, 64)  hsl(222, 15%, 22%)  Gunmetal
#403b2f  rgb(64, 59, 47)  hsl(42, 15%, 22%)  Black Olive
#402f34  rgb(64, 47, 52)  hsl(342, 15%, 22%)  Bistre
#34402f  rgb(52, 64, 47)  hsl(102, 15%, 22%)  Rifle Green