#797D9F

#797d9f ≈ Cool Gray

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

#797d9f 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.02% green and 62.35% blue; printed in CMYK it uses 23.9% cyan, 21.38% magenta, 0% yellow and 37.65% black. Its hue angle is 233.68°, with 16.52% saturation and 54.9% 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.25:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 7.74.

Description generated from the measured properties of this color.

Conversions of #797d9f 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.2124

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #7d7e8d ≈ 0.001% of males
Protanopia #7480a1 ≈ 1.01% of males
Deuteranopia #727e9e ≈ 1.27% of males
Tritanopia #708388 ≈ 0.0001% of males
Protanomaly #767fa0 ≈ 1.08% of males
Deuteranomaly #757d9e ≈ 4.63% of males
Tritanomaly #748192 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797d9f {
  color: #797d9f;
}
Background
.bg-797d9f {
  background-color: #797d9f;
  color: #000000;
}
Border
.border-797d9f {
  border: 2px solid #797d9f;
}
CSS variables
:root {
  --color-primary: #797d9f;
  --color-primary-rgb: 121 125 159;
  --color-primary-hsl: 234 17% 55%;
}
Gradient
.gradient-797d9f {
  background: linear-gradient(135deg, #797d9f, #88799f);
}
Colored shadow
.shadow-797d9f {
  box-shadow: 0 8px 24px rgb(121 125 159 / 0.35);
}

Cool Gray
#797d9f  rgb(121, 125, 159)  hsl(234, 17%, 55%)  Cool Gray
#9f9b79  rgb(159, 155, 121)  hsl(54, 17%, 55%)  Sage
#9f797d  rgb(159, 121, 125)  hsl(354, 17%, 55%)  Mountbatten Pink
#7d9f79  rgb(125, 159, 121)  hsl(114, 17%, 55%)  Asparagus