#797FA0

#797fa0 ≈ Cool Gray

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

#797fa0 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.8% green and 62.75% blue; printed in CMYK it uses 24.38% cyan, 20.63% magenta, 0% yellow and 37.25% black. Its hue angle is 230.77°, with 17.03% saturation and 55.1% 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.36:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 6.98.

Description generated from the measured properties of this color.

Conversions of #797fa0 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.2178

Readable text 3.92:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.36:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #7e808e ≈ 0.001% of males
Protanopia #7682a2 ≈ 1.01% of males
Deuteranopia #737f9f ≈ 1.27% of males
Tritanopia #70858a ≈ 0.0001% of males
Protanomaly #7781a1 ≈ 1.08% of males
Deuteranomaly #767f9f ≈ 4.63% of males
Tritanomaly #738393 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797fa0 {
  color: #797fa0;
}
Background
.bg-797fa0 {
  background-color: #797fa0;
  color: #000000;
}
Border
.border-797fa0 {
  border: 2px solid #797fa0;
}
CSS variables
:root {
  --color-primary: #797fa0;
  --color-primary-rgb: 121 127 160;
  --color-primary-hsl: 231 17% 55%;
}
Gradient
.gradient-797fa0 {
  background: linear-gradient(135deg, #797fa0, #8779a0);
}
Colored shadow
.shadow-797fa0 {
  box-shadow: 0 8px 24px rgb(121 127 160 / 0.35);
}

Cool Gray
#797fa0  rgb(121, 127, 160)  hsl(231, 17%, 55%)  Cool Gray
#a09a79  rgb(160, 154, 121)  hsl(51, 17%, 55%)  Ecru
#a0797f  rgb(160, 121, 127)  hsl(351, 17%, 55%)  Mountbatten Pink
#7fa079  rgb(127, 160, 121)  hsl(111, 17%, 55%)  Asparagus