#838D8F

#838d8f ≈ Battleship Gray

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

#838d8f is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 51.37% red, 55.29% green and 56.08% blue; printed in CMYK it uses 8.39% cyan, 1.4% magenta, 0% yellow and 43.92% black. Its hue angle is 190°, with 5.08% saturation and 53.73% 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 6.17:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 5.54.

Description generated from the measured properties of this color.

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

Readable text 3.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #888c8d ≈ 0.001% of males
Protanopia #8b8c8f ≈ 1.01% of males
Deuteranopia #898a8f ≈ 1.27% of males
Tritanopia #808e8e ≈ 0.0001% of males
Protanomaly #888c8f ≈ 1.08% of males
Deuteranomaly #878b8f ≈ 4.63% of males
Tritanomaly #818e8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-838d8f {
  color: #838d8f;
}
Background
.bg-838d8f {
  background-color: #838d8f;
  color: #000000;
}
Border
.border-838d8f {
  border: 2px solid #838d8f;
}
CSS variables
:root {
  --color-primary: #838d8f;
  --color-primary-rgb: 131 141 143;
  --color-primary-hsl: 190 5% 54%;
}
Gradient
.gradient-838d8f {
  background: linear-gradient(135deg, #838d8f, #83878f);
}
Colored shadow
.shadow-838d8f {
  box-shadow: 0 8px 24px rgb(131 141 143 / 0.35);
}

Battleship Gray
#838d8f  rgb(131, 141, 143)  hsl(190, 5%, 54%)  Battleship Gray
#8f8583  rgb(143, 133, 131)  hsl(10, 5%, 54%)  Taupe Gray
#8f838d  rgb(143, 131, 141)  hsl(310, 5%, 54%)  Taupe Gray
#8d8f83  rgb(141, 143, 131)  hsl(70, 5%, 54%)  Battleship Gray