#798CB2

#798cb2 ≈ Cool Gray

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

#798cb2 is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 54.9% green and 69.8% blue; printed in CMYK it uses 32.02% cyan, 21.35% magenta, 0% yellow and 30.2% black. Its hue angle is 220°, with 27.01% saturation and 58.63% 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 6.21:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 5.98.

Description generated from the measured properties of this color.

Conversions of #798cb2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#669999
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2604

Readable text 3.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #858c9c ≈ 0.001% of males
Protanopia #7f8eb4 ≈ 1.01% of males
Deuteranopia #7a89b1 ≈ 1.27% of males
Tritanopia #699499 ≈ 0.0001% of males
Protanomaly #7d8db3 ≈ 1.08% of males
Deuteranomaly #7a8ab1 ≈ 4.63% of males
Tritanomaly #7091a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-798cb2 {
  color: #798cb2;
}
Background
.bg-798cb2 {
  background-color: #798cb2;
  color: #000000;
}
Border
.border-798cb2 {
  border: 2px solid #798cb2;
}
CSS variables
:root {
  --color-primary: #798cb2;
  --color-primary-rgb: 121 140 178;
  --color-primary-hsl: 220 27% 59%;
}
Gradient
.gradient-798cb2 {
  background: linear-gradient(135deg, #798cb2, #8379b2);
}
Colored shadow
.shadow-798cb2 {
  box-shadow: 0 8px 24px rgb(121 140 178 / 0.35);
}

Cool Gray
#798cb2  rgb(121, 140, 178)  hsl(220, 27%, 59%)  Cool Gray
#b29f79  rgb(178, 159, 121)  hsl(40, 27%, 59%)  Ecru
#b2798c  rgb(178, 121, 140)  hsl(340, 27%, 59%)  Turkish Rose
#8cb279  rgb(140, 178, 121)  hsl(100, 27%, 59%)  Asparagus