#797B8F

#797b8f ≈ Slate Gray

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

#797b8f 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.24% green and 56.08% blue; printed in CMYK it uses 15.38% cyan, 13.99% magenta, 0% yellow and 43.92% black. Its hue angle is 234.55°, with 8.94% saturation and 51.76% 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.04:1 (WCAG AA). The closest named color is Slate Gray (#708090), ΔE 7.59.

Description generated from the measured properties of this color.

Conversions of #797b8f 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.2021

Readable text 4.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #7b7c84 ≈ 0.001% of males
Protanopia #767d90 ≈ 1.01% of males
Deuteranopia #757b8e ≈ 1.27% of males
Tritanopia #747e81 ≈ 0.0001% of males
Protanomaly #777c90 ≈ 1.08% of males
Deuteranomaly #777b8f ≈ 4.63% of males
Tritanomaly #767d87 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797b8f {
  color: #797b8f;
}
Background
.bg-797b8f {
  background-color: #797b8f;
  color: #000000;
}
Border
.border-797b8f {
  border: 2px solid #797b8f;
}
CSS variables
:root {
  --color-primary: #797b8f;
  --color-primary-rgb: 121 123 143;
  --color-primary-hsl: 235 9% 52%;
}
Gradient
.gradient-797b8f {
  background: linear-gradient(135deg, #797b8f, #82798f);
}
Colored shadow
.shadow-797b8f {
  box-shadow: 0 8px 24px rgb(121 123 143 / 0.35);
}

Slate Gray
#797b8f  rgb(121, 123, 143)  hsl(235, 9%, 52%)  Slate Gray
#8f8d79  rgb(143, 141, 121)  hsl(55, 9%, 52%)  Battleship Gray
#8f797b  rgb(143, 121, 123)  hsl(355, 9%, 52%)  Taupe Gray
#7b8f79  rgb(123, 143, 121)  hsl(115, 9%, 52%)  Xanadu