#5B87F8

#5b87f8 ≈ Cornflower Blue

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

#5b87f8 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 35.69% red, 52.94% green and 97.25% blue; printed in CMYK it uses 63.31% cyan, 45.56% magenta, 0% yellow and 2.75% black. Its hue angle is 223.18°, with 91.81% saturation and 66.47% 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.27:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 4.51.

Description generated from the measured properties of this color.

Conversions of #5b87f8 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.2633

Readable text 3.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #7c8ac1 ≈ 0.001% of males
Protanopia #4f94fc ≈ 1.01% of males
Deuteranopia #3386f6 ≈ 1.27% of males
Tritanopia #00a1b3 ≈ 0.0001% of males
Protanomaly #548ffb ≈ 1.08% of males
Deuteranomaly #4686f7 ≈ 4.63% of males
Tritanomaly #1797d2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b87f8 {
  color: #5b87f8;
}
Background
.bg-5b87f8 {
  background-color: #5b87f8;
  color: #000000;
}
Border
.border-5b87f8 {
  border: 2px solid #5b87f8;
}
CSS variables
:root {
  --color-primary: #5b87f8;
  --color-primary-rgb: 91 135 248;
  --color-primary-hsl: 223 92% 66%;
}
Gradient
.gradient-5b87f8 {
  background: linear-gradient(135deg, #5b87f8, #7d5bf8);
}
Colored shadow
.shadow-5b87f8 {
  box-shadow: 0 8px 24px rgb(91 135 248 / 0.35);
}

Cornflower Blue
#5b87f8  rgb(91, 135, 248)  hsl(223, 92%, 66%)  Cornflower Blue
#f8cc5b  rgb(248, 204, 91)  hsl(43, 92%, 66%)  Saffron
#f85b87  rgb(248, 91, 135)  hsl(343, 92%, 66%)  French Rose
#87f85b  rgb(135, 248, 91)  hsl(103, 92%, 66%)  Lawn Green