#797A8A

#797a8a ≈ Slate Gray

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

#797a8a is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 47.45% red, 47.84% green and 54.12% blue; printed in CMYK it uses 12.32% cyan, 11.59% magenta, 0% yellow and 45.88% black. Its hue angle is 236.47°, with 6.77% saturation and 50.78% 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 4.96:1 (WCAG AA). The closest named color is Slate Gray (#708090), ΔE 7.31.

Description generated from the measured properties of this color.

Conversions of #797a8a 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.1982

Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #7a7b81 ≈ 0.001% of males
Protanopia #767c8b ≈ 1.01% of males
Deuteranopia #767b8a ≈ 1.27% of males
Tritanopia #767d7f ≈ 0.0001% of males
Protanomaly #777b8a ≈ 1.08% of males
Deuteranomaly #777a8a ≈ 4.63% of males
Tritanomaly #777c84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797a8a {
  color: #797a8a;
}
Background
.bg-797a8a {
  background-color: #797a8a;
  color: #000000;
}
Border
.border-797a8a {
  border: 2px solid #797a8a;
}
CSS variables
:root {
  --color-primary: #797a8a;
  --color-primary-rgb: 121 122 138;
  --color-primary-hsl: 236 7% 51%;
}
Gradient
.gradient-797a8a {
  background: linear-gradient(135deg, #797a8a, #80798a);
}
Colored shadow
.shadow-797a8a {
  box-shadow: 0 8px 24px rgb(121 122 138 / 0.35);
}

Slate Gray
#797a8a  rgb(121, 122, 138)  hsl(236, 7%, 51%)  Slate Gray
#8a8979  rgb(138, 137, 121)  hsl(56, 7%, 51%)  Battleship Gray
#8a797a  rgb(138, 121, 122)  hsl(356, 7%, 51%)  Taupe Gray
#7a8a79  rgb(122, 138, 121)  hsl(116, 7%, 51%)  Xanadu