#5B87FF

#5b87ff ≈ Cornflower Blue

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

#5b87ff 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 100% blue; printed in CMYK it uses 64.31% cyan, 47.06% magenta, 0% yellow and 0% black. Its hue angle is 223.9°, with 100% saturation and 67.84% 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.35:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 4.76.

Description generated from the measured properties of this color.

Conversions of #5b87ff 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.2677

Readable text 3.3:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #7c8bc5 ≈ 0.001% of males
Protanopia #4995ff ≈ 1.01% of males
Deuteranopia #2686fd ≈ 1.27% of males
Tritanopia #00a3b7 ≈ 0.0001% of males
Protanomaly #5190ff ≈ 1.08% of males
Deuteranomaly #4187fe ≈ 4.63% of males
Tritanomaly #0798d8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b87ff {
  color: #5b87ff;
}
Background
.bg-5b87ff {
  background-color: #5b87ff;
  color: #000000;
}
Border
.border-5b87ff {
  border: 2px solid #5b87ff;
}
CSS variables
:root {
  --color-primary: #5b87ff;
  --color-primary-rgb: 91 135 255;
  --color-primary-hsl: 224 100% 68%;
}
Gradient
.gradient-5b87ff {
  background: linear-gradient(135deg, #5b87ff, #815bff);
}
Colored shadow
.shadow-5b87ff {
  box-shadow: 0 8px 24px rgb(91 135 255 / 0.35);
}

Cornflower Blue
#5b87ff  rgb(91, 135, 255)  hsl(224, 100%, 68%)  Cornflower Blue
#ffd35b  rgb(255, 211, 91)  hsl(44, 100%, 68%)  Mustard
#ff5b87  rgb(255, 91, 135)  hsl(344, 100%, 68%)  French Rose
#87ff5b  rgb(135, 255, 91)  hsl(104, 100%, 68%)  Lawn Green