#797D98

#797d98 ≈ Cool Gray

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

#797d98 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 59.61% blue; printed in CMYK it uses 20.39% cyan, 17.76% magenta, 0% yellow and 40.39% black. Its hue angle is 232.26°, with 13.08% saturation and 53.53% 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.2:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 7.4.

Description generated from the measured properties of this color.

Conversions of #797d98 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.21

Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.2:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #7c7e89 ≈ 0.001% of males
Protanopia #768099 ≈ 1.01% of males
Deuteranopia #747d97 ≈ 1.27% of males
Tritanopia #728286 ≈ 0.0001% of males
Protanomaly #777f99 ≈ 1.08% of males
Deuteranomaly #767d98 ≈ 4.63% of males
Tritanomaly #75808e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797d98 {
  color: #797d98;
}
Background
.bg-797d98 {
  background-color: #797d98;
  color: #000000;
}
Border
.border-797d98 {
  border: 2px solid #797d98;
}
CSS variables
:root {
  --color-primary: #797d98;
  --color-primary-rgb: 121 125 152;
  --color-primary-hsl: 232 13% 54%;
}
Gradient
.gradient-797d98 {
  background: linear-gradient(135deg, #797d98, #857998);
}
Colored shadow
.shadow-797d98 {
  box-shadow: 0 8px 24px rgb(121 125 152 / 0.35);
}

Cool Gray
#797d98  rgb(121, 125, 152)  hsl(232, 13%, 54%)  Cool Gray
#989479  rgb(152, 148, 121)  hsl(52, 13%, 54%)  Moss Green
#98797d  rgb(152, 121, 125)  hsl(352, 13%, 54%)  Mountbatten Pink
#7d9879  rgb(125, 152, 121)  hsl(112, 13%, 54%)  Xanadu