#797B87

#797b87 ≈ Slate Gray

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

#797b87 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 52.94% blue; printed in CMYK it uses 10.37% cyan, 8.89% magenta, 0% yellow and 47.06% black. Its hue angle is 231.43°, with 5.51% saturation and 50.2% 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:1 (WCAG AA). The closest named color is Slate Gray (#708090), ΔE 6.15.

Description generated from the measured properties of this color.

Conversions of #797b87 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.1998

Readable text 4.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #7b7b80 ≈ 0.001% of males
Protanopia #787c88 ≈ 1.01% of males
Deuteranopia #777b87 ≈ 1.27% of males
Tritanopia #767d7f ≈ 0.0001% of males
Protanomaly #787c87 ≈ 1.08% of males
Deuteranomaly #787b87 ≈ 4.63% of males
Tritanomaly #777c82 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797b87 {
  color: #797b87;
}
Background
.bg-797b87 {
  background-color: #797b87;
  color: #000000;
}
Border
.border-797b87 {
  border: 2px solid #797b87;
}
CSS variables
:root {
  --color-primary: #797b87;
  --color-primary-rgb: 121 123 135;
  --color-primary-hsl: 231 6% 50%;
}
Gradient
.gradient-797b87 {
  background: linear-gradient(135deg, #797b87, #7e7987);
}
Colored shadow
.shadow-797b87 {
  box-shadow: 0 8px 24px rgb(121 123 135 / 0.35);
}

Slate Gray
#797b87  rgb(121, 123, 135)  hsl(231, 6%, 50%)  Slate Gray
#878579  rgb(135, 133, 121)  hsl(51, 6%, 50%)  Battleship Gray
#87797b  rgb(135, 121, 123)  hsl(351, 6%, 50%)  Taupe Gray
#7b8779  rgb(123, 135, 121)  hsl(111, 6%, 50%)  Xanadu