#818A8B

#818a8b ≈ Battleship Gray

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

#818a8b is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 50.59% red, 54.12% green and 54.51% blue; printed in CMYK it uses 7.19% cyan, 0.72% magenta, 0% yellow and 45.49% black. Its hue angle is 186°, with 4.13% saturation and 52.55% 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.94:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 4.69.

Description generated from the measured properties of this color.

Conversions of #818a8b 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.2471

Readable text 3.53:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #858989 ≈ 0.001% of males
Protanopia #88898b ≈ 1.01% of males
Deuteranopia #87888b ≈ 1.27% of males
Tritanopia #7e8b8a ≈ 0.0001% of males
Protanomaly #86898b ≈ 1.08% of males
Deuteranomaly #84898b ≈ 4.63% of males
Tritanomaly #7f8a8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-818a8b {
  color: #818a8b;
}
Background
.bg-818a8b {
  background-color: #818a8b;
  color: #000000;
}
Border
.border-818a8b {
  border: 2px solid #818a8b;
}
CSS variables
:root {
  --color-primary: #818a8b;
  --color-primary-rgb: 129 138 139;
  --color-primary-hsl: 186 4% 53%;
}
Gradient
.gradient-818a8b {
  background: linear-gradient(135deg, #818a8b, #81858b);
}
Colored shadow
.shadow-818a8b {
  box-shadow: 0 8px 24px rgb(129 138 139 / 0.35);
}

Battleship Gray
#818a8b  rgb(129, 138, 139)  hsl(186, 4%, 53%)  Battleship Gray
#8b8281  rgb(139, 130, 129)  hsl(6, 4%, 53%)  Taupe Gray
#8b818a  rgb(139, 129, 138)  hsl(306, 4%, 53%)  Taupe Gray
#8a8b81  rgb(138, 139, 129)  hsl(66, 4%, 53%)  Battleship Gray