#787E8E

#787e8e ≈ Slate Gray

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

#787e8e is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 47.06% red, 49.41% green and 55.69% blue; printed in CMYK it uses 15.49% cyan, 11.27% magenta, 0% yellow and 44.31% black. Its hue angle is 223.64°, with 8.87% saturation and 51.37% 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.17:1 (WCAG AA). The closest named color is Slate Gray (#708090), ΔE 4.55.

Description generated from the measured properties of this color.

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

Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #7c7e85 ≈ 0.001% of males
Protanopia #797f8f ≈ 1.01% of males
Deuteranopia #787d8e ≈ 1.27% of males
Tritanopia #738183 ≈ 0.0001% of males
Protanomaly #797f8e ≈ 1.08% of males
Deuteranomaly #787e8e ≈ 4.63% of males
Tritanomaly #758088 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-787e8e {
  color: #787e8e;
}
Background
.bg-787e8e {
  background-color: #787e8e;
  color: #000000;
}
Border
.border-787e8e {
  border: 2px solid #787e8e;
}
CSS variables
:root {
  --color-primary: #787e8e;
  --color-primary-rgb: 120 126 142;
  --color-primary-hsl: 224 9% 51%;
}
Gradient
.gradient-787e8e {
  background: linear-gradient(135deg, #787e8e, #7d788e);
}
Colored shadow
.shadow-787e8e {
  box-shadow: 0 8px 24px rgb(120 126 142 / 0.35);
}

Slate Gray
#787e8e  rgb(120, 126, 142)  hsl(224, 9%, 51%)  Slate Gray
#8e8878  rgb(142, 136, 120)  hsl(44, 9%, 51%)  Battleship Gray
#8e787e  rgb(142, 120, 126)  hsl(344, 9%, 51%)  Mountbatten Pink
#7e8e78  rgb(126, 142, 120)  hsl(104, 9%, 51%)  Xanadu