#7E8BA5

#7e8ba5 ≈ Cool Gray

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

#7e8ba5 is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 49.41% red, 54.51% green and 64.71% blue; printed in CMYK it uses 23.64% cyan, 15.76% magenta, 0% yellow and 35.29% black. Its hue angle is 220°, with 17.81% saturation and 57.06% 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.12:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 4.16.

Description generated from the measured properties of this color.

Conversions of #7e8ba5 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.2562

Readable text 3.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #868b96 ≈ 0.001% of males
Protanopia #838ca6 ≈ 1.01% of males
Deuteranopia #7f89a4 ≈ 1.27% of males
Tritanopia #749093 ≈ 0.0001% of males
Protanomaly #818ca6 ≈ 1.08% of males
Deuteranomaly #7f8aa5 ≈ 4.63% of males
Tritanomaly #788e9b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e8ba5 {
  color: #7e8ba5;
}
Background
.bg-7e8ba5 {
  background-color: #7e8ba5;
  color: #000000;
}
Border
.border-7e8ba5 {
  border: 2px solid #7e8ba5;
}
CSS variables
:root {
  --color-primary: #7e8ba5;
  --color-primary-rgb: 126 139 165;
  --color-primary-hsl: 220 18% 57%;
}
Gradient
.gradient-7e8ba5 {
  background: linear-gradient(135deg, #7e8ba5, #857ea5);
}
Colored shadow
.shadow-7e8ba5 {
  box-shadow: 0 8px 24px rgb(126 139 165 / 0.35);
}

Cool Gray
#7e8ba5  rgb(126, 139, 165)  hsl(220, 18%, 57%)  Cool Gray
#a5987e  rgb(165, 152, 126)  hsl(40, 18%, 57%)  Camel
#a57e8b  rgb(165, 126, 139)  hsl(340, 18%, 57%)  Mountbatten Pink
#8ba57e  rgb(139, 165, 126)  hsl(100, 18%, 57%)  Asparagus