#797CA6

#797ca6 ≈ Cool Gray

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

#797ca6 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 65.1% blue; printed in CMYK it uses 27.11% cyan, 25.3% magenta, 0% yellow and 34.9% black. Its hue angle is 236°, with 20.18% saturation and 56.27% 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 8.86.

Description generated from the measured properties of this color.

Conversions of #797ca6 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.2123

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 #7d7e90 ≈ 0.001% of males
Protanopia #7081a8 ≈ 1.01% of males
Deuteranopia #6e7ea5 ≈ 1.27% of males
Tritanopia #6e848a ≈ 0.0001% of males
Protanomaly #747fa7 ≈ 1.08% of males
Deuteranomaly #737da5 ≈ 4.63% of males
Tritanomaly #738196 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797ca6 {
  color: #797ca6;
}
Background
.bg-797ca6 {
  background-color: #797ca6;
  color: #000000;
}
Border
.border-797ca6 {
  border: 2px solid #797ca6;
}
CSS variables
:root {
  --color-primary: #797ca6;
  --color-primary-rgb: 121 124 166;
  --color-primary-hsl: 236 20% 56%;
}
Gradient
.gradient-797ca6 {
  background: linear-gradient(135deg, #797ca6, #8c79a6);
}
Colored shadow
.shadow-797ca6 {
  box-shadow: 0 8px 24px rgb(121 124 166 / 0.35);
}

Cool Gray
#797ca6  rgb(121, 124, 166)  hsl(236, 20%, 56%)  Cool Gray
#a6a379  rgb(166, 163, 121)  hsl(56, 20%, 56%)  Sage
#a6797c  rgb(166, 121, 124)  hsl(356, 20%, 56%)  Turkish Rose
#7ca679  rgb(124, 166, 121)  hsl(116, 20%, 56%)  Asparagus