#5F87F7

#5f87f7 ≈ Cornflower Blue

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

#5f87f7 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 96.86% blue; printed in CMYK it uses 61.54% cyan, 45.34% magenta, 0% yellow and 3.14% black. Its hue angle is 224.21°, with 90.48% 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 6.3:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 4.66.

Description generated from the measured properties of this color.

Conversions of #5f87f7 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.2648

Readable text 3.34:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #7d8ac1 ≈ 0.001% of males
Protanopia #5194fb ≈ 1.01% of males
Deuteranopia #3786f5 ≈ 1.27% of males
Tritanopia #00a0b3 ≈ 0.0001% of males
Protanomaly #578ffa ≈ 1.08% of males
Deuteranomaly #4a87f6 ≈ 4.63% of males
Tritanomaly #2897d2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f87f7 {
  color: #5f87f7;
}
Background
.bg-5f87f7 {
  background-color: #5f87f7;
  color: #000000;
}
Border
.border-5f87f7 {
  border: 2px solid #5f87f7;
}
CSS variables
:root {
  --color-primary: #5f87f7;
  --color-primary-rgb: 95 135 247;
  --color-primary-hsl: 224 90% 67%;
}
Gradient
.gradient-5f87f7 {
  background: linear-gradient(135deg, #5f87f7, #835ff7);
}
Colored shadow
.shadow-5f87f7 {
  box-shadow: 0 8px 24px rgb(95 135 247 / 0.35);
}

Cornflower Blue
#5f87f7  rgb(95, 135, 247)  hsl(224, 90%, 67%)  Cornflower Blue
#f7cf5f  rgb(247, 207, 95)  hsl(44, 90%, 67%)  Naples Yellow
#f75f87  rgb(247, 95, 135)  hsl(344, 90%, 67%)  French Rose
#87f75f  rgb(135, 247, 95)  hsl(104, 90%, 67%)  Lawn Green