#8FA7FF

#8fa7ff ≈ Cornflower Blue

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

#8fa7ff is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 56.08% red, 65.49% green and 100% blue; printed in CMYK it uses 43.92% cyan, 34.51% magenta, 0% yellow and 0% black. Its hue angle is 227.14°, with 100% saturation and 78.04% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 9.14:1 (WCAG AAA). The closest named color is Cornflower Blue (#6495ed), ΔE 7.89.

Description generated from the measured properties of this color.

Conversions of #8fa7ff 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.407

Readable text 2.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ababab ≈ 0.003% of males
Achromatomaly #a1a9d2 ≈ 0.001% of males
Protanopia #87b0ff ≈ 1.01% of males
Deuteranopia #7da7fd ≈ 1.27% of males
Tritanopia #67b9c7 ≈ 0.0001% of males
Protanomaly #8aadff ≈ 1.08% of males
Deuteranomaly #85a7fe ≈ 4.63% of males
Tritanomaly #79b2e0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8fa7ff {
  color: #8fa7ff;
}
Background
.bg-8fa7ff {
  background-color: #8fa7ff;
  color: #000000;
}
Border
.border-8fa7ff {
  border: 2px solid #8fa7ff;
}
CSS variables
:root {
  --color-primary: #8fa7ff;
  --color-primary-rgb: 143 167 255;
  --color-primary-hsl: 227 100% 78%;
}
Gradient
.gradient-8fa7ff {
  background: linear-gradient(135deg, #8fa7ff, #af8fff);
}
Colored shadow
.shadow-8fa7ff {
  box-shadow: 0 8px 24px rgb(143 167 255 / 0.35);
}

Cornflower Blue
#8fa7ff  rgb(143, 167, 255)  hsl(227, 100%, 78%)  Cornflower Blue
#ffe78f  rgb(255, 231, 143)  hsl(47, 100%, 78%)  Jasmine
#ff8fa7  rgb(255, 143, 167)  hsl(347, 100%, 78%)  Salmon Pink
#a7ff8f  rgb(167, 255, 143)  hsl(107, 100%, 78%)  Mint Green