#797E9A

#797e9a ≈ Cool Gray

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

#797e9a is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 49.41% green and 60.39% blue; printed in CMYK it uses 21.43% cyan, 18.18% magenta, 0% yellow and 39.61% black. Its hue angle is 230.91°, with 14.04% saturation and 53.92% 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.26:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 7.06.

Description generated from the measured properties of this color.

Conversions of #797e9a 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.2132

Readable text 3.99:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.26:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #7d7f8b ≈ 0.001% of males
Protanopia #76819b ≈ 1.01% of males
Deuteranopia #747e99 ≈ 1.27% of males
Tritanopia #718387 ≈ 0.0001% of males
Protanomaly #77809b ≈ 1.08% of males
Deuteranomaly #767e9a ≈ 4.63% of males
Tritanomaly #74818f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797e9a {
  color: #797e9a;
}
Background
.bg-797e9a {
  background-color: #797e9a;
  color: #000000;
}
Border
.border-797e9a {
  border: 2px solid #797e9a;
}
CSS variables
:root {
  --color-primary: #797e9a;
  --color-primary-rgb: 121 126 154;
  --color-primary-hsl: 231 14% 54%;
}
Gradient
.gradient-797e9a {
  background: linear-gradient(135deg, #797e9a, #84799a);
}
Colored shadow
.shadow-797e9a {
  box-shadow: 0 8px 24px rgb(121 126 154 / 0.35);
}

Cool Gray
#797e9a  rgb(121, 126, 154)  hsl(231, 14%, 54%)  Cool Gray
#9a9579  rgb(154, 149, 121)  hsl(51, 14%, 54%)  Moss Green
#9a797e  rgb(154, 121, 126)  hsl(351, 14%, 54%)  Mountbatten Pink
#7e9a79  rgb(126, 154, 121)  hsl(111, 14%, 54%)  Asparagus