#797C8D

#797c8d ≈ Slate Gray

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

#797c8d 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, 48.63% green and 55.29% blue; printed in CMYK it uses 14.18% cyan, 12.06% magenta, 0% yellow and 44.71% black. Its hue angle is 231°, with 8.06% 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.08:1 (WCAG AA). The closest named color is Slate Gray (#708090), ΔE 6.37.

Description generated from the measured properties of this color.

Conversions of #797c8d 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.204

Readable text 4.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #7b7c84 ≈ 0.001% of males
Protanopia #787d8e ≈ 1.01% of males
Deuteranopia #777c8d ≈ 1.27% of males
Tritanopia #757f81 ≈ 0.0001% of males
Protanomaly #787d8d ≈ 1.08% of males
Deuteranomaly #787c8d ≈ 4.63% of males
Tritanomaly #767e86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Slate Gray
#797c8d  rgb(121, 124, 141)  hsl(231, 8%, 51%)  Slate Gray
#8d8a79  rgb(141, 138, 121)  hsl(51, 8%, 51%)  Battleship Gray
#8d797c  rgb(141, 121, 124)  hsl(351, 8%, 51%)  Taupe Gray
#7c8d79  rgb(124, 141, 121)  hsl(111, 8%, 51%)  Xanadu