#5F87F4

#5f87f4 ≈ Cornflower Blue

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

#5f87f4 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 37.25% red, 52.94% green and 95.69% blue; printed in CMYK it uses 61.07% cyan, 44.67% magenta, 0% yellow and 4.31% black. Its hue angle is 223.89°, with 87.13% 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.26:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 4.59.

Description generated from the measured properties of this color.

Conversions of #5f87f4 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.2629

Readable text 3.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.26:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #7d8abf ≈ 0.001% of males
Protanopia #5393f8 ≈ 1.01% of males
Deuteranopia #3b86f2 ≈ 1.27% of males
Tritanopia #00a0b2 ≈ 0.0001% of males
Protanomaly #588ff6 ≈ 1.08% of males
Deuteranomaly #4c86f3 ≈ 4.63% of males
Tritanomaly #2b96d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f87f4 {
  color: #5f87f4;
}
Background
.bg-5f87f4 {
  background-color: #5f87f4;
  color: #000000;
}
Border
.border-5f87f4 {
  border: 2px solid #5f87f4;
}
CSS variables
:root {
  --color-primary: #5f87f4;
  --color-primary-rgb: 95 135 244;
  --color-primary-hsl: 224 87% 66%;
}
Gradient
.gradient-5f87f4 {
  background: linear-gradient(135deg, #5f87f4, #815ff4);
}
Colored shadow
.shadow-5f87f4 {
  box-shadow: 0 8px 24px rgb(95 135 244 / 0.35);
}

Cornflower Blue
#5f87f4  rgb(95, 135, 244)  hsl(224, 87%, 66%)  Cornflower Blue
#f4cc5f  rgb(244, 204, 95)  hsl(44, 87%, 66%)  Naples Yellow
#f45f87  rgb(244, 95, 135)  hsl(344, 87%, 66%)  Blush
#87f45f  rgb(135, 244, 95)  hsl(104, 87%, 66%)  Lawn Green