#5871FF

#5871ff ≈ Ultramarine Blue

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

#5871ff is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 34.51% red, 44.31% green and 100% blue; printed in CMYK it uses 65.49% cyan, 55.69% magenta, 0% yellow and 0% black. Its hue angle is 231.02°, with 100% saturation and 67.25% 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.22:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 4.56.

Description generated from the measured properties of this color.

Conversions of #5871ff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.211

Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #7179c0 ≈ 0.001% of males
Protanopia #0086ff ≈ 1.01% of males
Deuteranopia #0077fc ≈ 1.27% of males
Tritanopia #0093ad ≈ 0.0001% of males
Protanomaly #307eff ≈ 1.08% of males
Deuteranomaly #1875fd ≈ 4.63% of males
Tritanomaly #0087d3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5871ff {
  color: #5871ff;
}
Background
.bg-5871ff {
  background-color: #5871ff;
  color: #000000;
}
Border
.border-5871ff {
  border: 2px solid #5871ff;
}
CSS variables
:root {
  --color-primary: #5871ff;
  --color-primary-rgb: 88 113 255;
  --color-primary-hsl: 231 100% 67%;
}
Gradient
.gradient-5871ff {
  background: linear-gradient(135deg, #5871ff, #9258ff);
}
Colored shadow
.shadow-5871ff {
  box-shadow: 0 8px 24px rgb(88 113 255 / 0.35);
}

Ultramarine Blue
#5871ff  rgb(88, 113, 255)  hsl(231, 100%, 67%)  Ultramarine Blue
#ffe658  rgb(255, 230, 88)  hsl(51, 100%, 67%)  Banana Yellow
#ff5871  rgb(255, 88, 113)  hsl(351, 100%, 67%)  Neon Fuchsia
#71ff58  rgb(113, 255, 88)  hsl(111, 100%, 67%)  Neon Green