#5C5EF1

#5c5ef1 ≈ Ultramarine Blue

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

#5c5ef1 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 36.08% red, 36.86% green and 94.51% blue; printed in CMYK it uses 61.83% cyan, 61% magenta, 0% yellow and 5.49% black. Its hue angle is 239.19°, with 84.18% saturation and 65.29% 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. White text on this color reaches a contrast ratio of 4.85:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #5c5ef1 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.1663

Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #696ab3 ≈ 0.001% of males
Protanopia #0078f6 ≈ 1.01% of males
Deuteranopia #006bee ≈ 1.27% of males
Tritanopia #00839f ≈ 0.0001% of males
Protanomaly #216ef4 ≈ 1.08% of males
Deuteranomaly #0d66ef ≈ 4.63% of males
Tritanomaly #2b76c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5c5ef1 {
  color: #5c5ef1;
}
Background
.bg-5c5ef1 {
  background-color: #5c5ef1;
  color: #ffffff;
}
Border
.border-5c5ef1 {
  border: 2px solid #5c5ef1;
}
CSS variables
:root {
  --color-primary: #5c5ef1;
  --color-primary-rgb: 92 94 241;
  --color-primary-hsl: 239 84% 65%;
}
Gradient
.gradient-5c5ef1 {
  background: linear-gradient(135deg, #5c5ef1, #a45cf1);
}
Colored shadow
.shadow-5c5ef1 {
  box-shadow: 0 8px 24px rgb(92 94 241 / 0.35);
}

Ultramarine Blue
#5c5ef1  rgb(92, 94, 241)  hsl(239, 84%, 65%)  Ultramarine Blue
#f1ef5c  rgb(241, 239, 92)  hsl(59, 84%, 65%)  Icterine
#f15c5e  rgb(241, 92, 94)  hsl(359, 84%, 65%)  Pastel Red
#5ef15c  rgb(94, 241, 92)  hsl(119, 84%, 65%)  Neon Green