#8A9EF2

#8a9ef2 ≈ Cornflower Blue

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

#8a9ef2 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 61.96% green and 94.9% blue; printed in CMYK it uses 42.98% cyan, 34.71% magenta, 0% yellow and 5.1% black. Its hue angle is 228.46°, with 80% saturation and 74.51% 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 8.25:1 (WCAG AAA). The closest named color is Cornflower Blue (#6495ed), ΔE 6.8.

Description generated from the measured properties of this color.

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

Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a2a2a2 ≈ 0.003% of males
Achromatomaly #99a1c7 ≈ 0.001% of males
Protanopia #80a7f5 ≈ 1.01% of males
Deuteranopia #779ef0 ≈ 1.27% of males
Tritanopia #66afbd ≈ 0.0001% of males
Protanomaly #84a3f4 ≈ 1.08% of males
Deuteranomaly #7f9ef1 ≈ 4.63% of males
Tritanomaly #76a9d4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a9ef2 {
  color: #8a9ef2;
}
Background
.bg-8a9ef2 {
  background-color: #8a9ef2;
  color: #000000;
}
Border
.border-8a9ef2 {
  border: 2px solid #8a9ef2;
}
CSS variables
:root {
  --color-primary: #8a9ef2;
  --color-primary-rgb: 138 158 242;
  --color-primary-hsl: 228 80% 75%;
}
Gradient
.gradient-8a9ef2 {
  background: linear-gradient(135deg, #8a9ef2, #aa8af2);
}
Colored shadow
.shadow-8a9ef2 {
  box-shadow: 0 8px 24px rgb(138 158 242 / 0.35);
}

Cornflower Blue
#8a9ef2  rgb(138, 158, 242)  hsl(228, 80%, 75%)  Cornflower Blue
#f2de8a  rgb(242, 222, 138)  hsl(48, 80%, 75%)  Buff
#f28a9e  rgb(242, 138, 158)  hsl(348, 80%, 75%)  Salmon Pink
#9ef28a  rgb(158, 242, 138)  hsl(108, 80%, 75%)  Light Green