#787EA7

#787ea7 ≈ Cool Gray

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

#787ea7 is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.06% red, 49.41% green and 65.49% blue; printed in CMYK it uses 28.14% cyan, 24.55% magenta, 0% yellow and 34.51% black. Its hue angle is 232.34°, with 21.08% 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.34:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 8.16.

Description generated from the measured properties of this color.

Conversions of #787ea7 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.217

Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #7d7f91 ≈ 0.001% of males
Protanopia #7282a9 ≈ 1.01% of males
Deuteranopia #6f7fa6 ≈ 1.27% of males
Tritanopia #6c868c ≈ 0.0001% of males
Protanomaly #7581a8 ≈ 1.08% of males
Deuteranomaly #737ea6 ≈ 4.63% of males
Tritanomaly #718398 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-787ea7 {
  color: #787ea7;
}
Background
.bg-787ea7 {
  background-color: #787ea7;
  color: #000000;
}
Border
.border-787ea7 {
  border: 2px solid #787ea7;
}
CSS variables
:root {
  --color-primary: #787ea7;
  --color-primary-rgb: 120 126 167;
  --color-primary-hsl: 232 21% 56%;
}
Gradient
.gradient-787ea7 {
  background: linear-gradient(135deg, #787ea7, #8978a7);
}
Colored shadow
.shadow-787ea7 {
  box-shadow: 0 8px 24px rgb(120 126 167 / 0.35);
}

Cool Gray
#787ea7  rgb(120, 126, 167)  hsl(232, 21%, 56%)  Cool Gray
#a7a178  rgb(167, 161, 120)  hsl(52, 21%, 56%)  Sage
#a7787e  rgb(167, 120, 126)  hsl(352, 21%, 56%)  Turkish Rose
#7ea778  rgb(126, 167, 120)  hsl(112, 21%, 56%)  Asparagus