#7F8A8A

#7f8a8a ≈ Battleship Gray

  • gray
  • Lightness: medium
  • Saturation: almost no
  • Neutral

#7f8a8a is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 49.8% red, 54.12% green and 54.12% blue; printed in CMYK it uses 7.97% cyan, 0% magenta, 0% yellow and 45.88% black. Its hue angle is 180°, with 4.49% saturation and 51.96% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography, corporate identities and brand accents. Black text on this color reaches a contrast ratio of 5.9:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 5.42.

Description generated from the measured properties of this color.

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

Readable text 3.56:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #848989 ≈ 0.001% of males
Protanopia #88898a ≈ 1.01% of males
Deuteranopia #86878a ≈ 1.27% of males
Tritanopia #7c8b8a ≈ 0.0001% of males
Protanomaly #85898a ≈ 1.08% of males
Deuteranomaly #83888a ≈ 4.63% of males
Tritanomaly #7d8a8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f8a8a {
  color: #7f8a8a;
}
Background
.bg-7f8a8a {
  background-color: #7f8a8a;
  color: #000000;
}
Border
.border-7f8a8a {
  border: 2px solid #7f8a8a;
}
CSS variables
:root {
  --color-primary: #7f8a8a;
  --color-primary-rgb: 127 138 138;
  --color-primary-hsl: 180 4% 52%;
}
Gradient
.gradient-7f8a8a {
  background: linear-gradient(135deg, #7f8a8a, #7f848a);
}
Colored shadow
.shadow-7f8a8a {
  box-shadow: 0 8px 24px rgb(127 138 138 / 0.35);
}

Battleship Gray
#7f8a8a  rgb(127, 138, 138)  hsl(180, 4%, 52%)  Battleship Gray
#8a7f7f  rgb(138, 127, 127)  hsl(0, 4%, 52%)  Taupe Gray
#8a7f8a  rgb(138, 127, 138)  hsl(300, 4%, 52%)  Taupe Gray
#8a8a7f  rgb(138, 138, 127)  hsl(60, 4%, 52%)  Battleship Gray