#5540E2

#5540e2 ≈ Majorelle Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#5540e2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 33.33% red, 25.1% green and 88.63% blue; printed in CMYK it uses 62.39% cyan, 71.68% magenta, 0% yellow and 11.37% black. Its hue angle is 247.78°, with 73.64% saturation and 56.86% 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 brand accents. White text on this color reaches a contrast ratio of 6.53:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.14.

Description generated from the measured properties of this color.

Conversions of #5540e2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1109

Readable text 6.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5a53a4 ≈ 0.001% of males
Protanopia #0064e7 ≈ 1.01% of males
Deuteranopia #0057df ≈ 1.27% of males
Tritanopia #006d8d ≈ 0.0001% of males
Protanomaly #0057e5 ≈ 1.08% of males
Deuteranomaly #004fe0 ≈ 4.63% of males
Tritanomaly #285eb5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5540e2 {
  color: #5540e2;
}
Background
.bg-5540e2 {
  background-color: #5540e2;
  color: #ffffff;
}
Border
.border-5540e2 {
  border: 2px solid #5540e2;
}
CSS variables
:root {
  --color-primary: #5540e2;
  --color-primary-rgb: 85 64 226;
  --color-primary-hsl: 248 74% 57%;
}
Gradient
.gradient-5540e2 {
  background: linear-gradient(135deg, #5540e2, #a640e2);
}
Colored shadow
.shadow-5540e2 {
  box-shadow: 0 8px 24px rgb(85 64 226 / 0.35);
}

Majorelle Blue
#5540e2  rgb(85, 64, 226)  hsl(248, 74%, 57%)  Majorelle Blue
#cde240  rgb(205, 226, 64)  hsl(68, 74%, 57%)  Pear
#e25540  rgb(226, 85, 64)  hsl(8, 74%, 57%)  Cinnabar
#40e255  rgb(64, 226, 85)  hsl(128, 74%, 57%)  Malachite