#7E8AFA

#7e8afa ≈ Cornflower Blue

  • blue
  • Lightness: high
  • Saturation: moderate
  • Cool

#7e8afa is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 49.41% red, 54.12% green and 98.04% blue; printed in CMYK it uses 49.6% cyan, 44.8% magenta, 0% yellow and 1.96% black. Its hue angle is 234.19°, with 92.54% saturation and 73.73% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 6.9:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 7.52.

Description generated from the measured properties of this color.

Conversions of #7e8afa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6699ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2951

Readable text 3.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #8c90c5 ≈ 0.001% of males
Protanopia #5b99fe ≈ 1.01% of males
Deuteranopia #4f8ff8 ≈ 1.27% of males
Tritanopia #4ca2b6 ≈ 0.0001% of males
Protanomaly #6a93fd ≈ 1.08% of males
Deuteranomaly #658df9 ≈ 4.63% of males
Tritanomaly #6499d5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e8afa {
  color: #7e8afa;
}
Background
.bg-7e8afa {
  background-color: #7e8afa;
  color: #000000;
}
Border
.border-7e8afa {
  border: 2px solid #7e8afa;
}
CSS variables
:root {
  --color-primary: #7e8afa;
  --color-primary-rgb: 126 138 250;
  --color-primary-hsl: 234 93% 74%;
}
Gradient
.gradient-7e8afa {
  background: linear-gradient(135deg, #7e8afa, #b07efa);
}
Colored shadow
.shadow-7e8afa {
  box-shadow: 0 8px 24px rgb(126 138 250 / 0.35);
}

Cornflower Blue
#7e8afa  rgb(126, 138, 250)  hsl(234, 93%, 74%)  Cornflower Blue
#faee7e  rgb(250, 238, 126)  hsl(54, 93%, 74%)  Khaki
#fa7e8a  rgb(250, 126, 138)  hsl(354, 93%, 74%)  Light Coral
#8afa7e  rgb(138, 250, 126)  hsl(114, 93%, 74%)  Mint Green