#797C9E

#797c9e ≈ Cool Gray

  • blue
  • Lightness: medium
  • Saturation: muted
  • Cool

#797c9e is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 48.63% green and 61.96% blue; printed in CMYK it uses 23.42% cyan, 21.52% magenta, 0% yellow and 38.04% black. Its hue angle is 235.14°, with 16.02% saturation and 54.71% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. Black text on this color reaches a contrast ratio of 5.19:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 8.11.

Description generated from the measured properties of this color.

Conversions of #797c9e 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.2095

Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #7c7d8c ≈ 0.001% of males
Protanopia #7380a0 ≈ 1.01% of males
Deuteranopia #717d9d ≈ 1.27% of males
Tritanopia #708287 ≈ 0.0001% of males
Protanomaly #757e9f ≈ 1.08% of males
Deuteranomaly #747d9d ≈ 4.63% of males
Tritanomaly #748091 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797c9e {
  color: #797c9e;
}
Background
.bg-797c9e {
  background-color: #797c9e;
  color: #000000;
}
Border
.border-797c9e {
  border: 2px solid #797c9e;
}
CSS variables
:root {
  --color-primary: #797c9e;
  --color-primary-rgb: 121 124 158;
  --color-primary-hsl: 235 16% 55%;
}
Gradient
.gradient-797c9e {
  background: linear-gradient(135deg, #797c9e, #89799e);
}
Colored shadow
.shadow-797c9e {
  box-shadow: 0 8px 24px rgb(121 124 158 / 0.35);
}

Cool Gray
#797c9e  rgb(121, 124, 158)  hsl(235, 16%, 55%)  Cool Gray
#9e9b79  rgb(158, 155, 121)  hsl(55, 16%, 55%)  Sage
#9e797c  rgb(158, 121, 124)  hsl(355, 16%, 55%)  Mountbatten Pink
#7c9e79  rgb(124, 158, 121)  hsl(115, 16%, 55%)  Asparagus