#5C81FA

#5c81fa ≈ Cornflower Blue

  • blue
  • Lightness: high
  • Saturation: strong
  • Cool

#5c81fa is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 36.08% red, 50.59% green and 98.04% blue; printed in CMYK it uses 63.2% cyan, 48.4% magenta, 0% yellow and 1.96% black. Its hue angle is 225.95°, with 94.05% saturation and 67.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.98:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 6.57.

Description generated from the measured properties of this color.

Conversions of #5c81fa 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.2488

Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #7986c1 ≈ 0.001% of males
Protanopia #4090fe ≈ 1.01% of males
Deuteranopia #1a82f7 ≈ 1.27% of males
Tritanopia #009db2 ≈ 0.0001% of males
Protanomaly #4d8afd ≈ 1.08% of males
Deuteranomaly #3f82f9 ≈ 4.63% of males
Tritanomaly #1b93d3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5c81fa {
  color: #5c81fa;
}
Background
.bg-5c81fa {
  background-color: #5c81fa;
  color: #000000;
}
Border
.border-5c81fa {
  border: 2px solid #5c81fa;
}
CSS variables
:root {
  --color-primary: #5c81fa;
  --color-primary-rgb: 92 129 250;
  --color-primary-hsl: 226 94% 67%;
}
Gradient
.gradient-5c81fa {
  background: linear-gradient(135deg, #5c81fa, #865cfa);
}
Colored shadow
.shadow-5c81fa {
  box-shadow: 0 8px 24px rgb(92 129 250 / 0.35);
}

Cornflower Blue
#5c81fa  rgb(92, 129, 250)  hsl(226, 94%, 67%)  Cornflower Blue
#fad55c  rgb(250, 213, 92)  hsl(46, 94%, 67%)  Naples Yellow
#fa5c81  rgb(250, 92, 129)  hsl(346, 94%, 67%)  French Rose
#81fa5c  rgb(129, 250, 92)  hsl(106, 94%, 67%)  Neon Green