#818AFA

#818afa ≈ Cornflower Blue

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

#818afa is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 50.59% red, 54.12% green and 98.04% blue; printed in CMYK it uses 48.4% cyan, 44.8% magenta, 0% yellow and 1.96% black. Its hue angle is 235.54°, with 92.37% saturation and 74.31% 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.95:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 8.03.

Description generated from the measured properties of this color.

Conversions of #818afa 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.2975

Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.95:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #8d90c5 ≈ 0.001% of males
Protanopia #5b99fe ≈ 1.01% of males
Deuteranopia #5190f8 ≈ 1.27% of males
Tritanopia #52a2b6 ≈ 0.0001% of males
Protanomaly #6c93fd ≈ 1.08% of males
Deuteranomaly #678df9 ≈ 4.63% of males
Tritanomaly #6899d5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-818afa {
  color: #818afa;
}
Background
.bg-818afa {
  background-color: #818afa;
  color: #000000;
}
Border
.border-818afa {
  border: 2px solid #818afa;
}
CSS variables
:root {
  --color-primary: #818afa;
  --color-primary-rgb: 129 138 250;
  --color-primary-hsl: 236 92% 74%;
}
Gradient
.gradient-818afa {
  background: linear-gradient(135deg, #818afa, #b481fa);
}
Colored shadow
.shadow-818afa {
  box-shadow: 0 8px 24px rgb(129 138 250 / 0.35);
}

Cornflower Blue
#818afa  rgb(129, 138, 250)  hsl(236, 92%, 74%)  Cornflower Blue
#faf181  rgb(250, 241, 129)  hsl(56, 92%, 74%)  Pastel Yellow
#fa818a  rgb(250, 129, 138)  hsl(356, 92%, 74%)  Light Coral
#8afa81  rgb(138, 250, 129)  hsl(116, 92%, 74%)  Mint Green