#5F45EC

#5f45ec ≈ Majorelle Blue

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

#5f45ec is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 27.06% green and 92.55% blue; printed in CMYK it uses 59.75% cyan, 70.76% magenta, 0% yellow and 7.45% black. Its hue angle is 249.34°, with 81.46% saturation and 59.8% 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 5.92:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.1.

Description generated from the measured properties of this color.

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

Readable text 5.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.55:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #6259ac ≈ 0.001% of males
Protanopia #006af1 ≈ 1.01% of males
Deuteranopia #005ee9 ≈ 1.27% of males
Tritanopia #007394 ≈ 0.0001% of males
Protanomaly #005def ≈ 1.08% of males
Deuteranomaly #0055ea ≈ 4.63% of males
Tritanomaly #3863be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f45ec {
  color: #5f45ec;
}
Background
.bg-5f45ec {
  background-color: #5f45ec;
  color: #ffffff;
}
Border
.border-5f45ec {
  border: 2px solid #5f45ec;
}
CSS variables
:root {
  --color-primary: #5f45ec;
  --color-primary-rgb: 95 69 236;
  --color-primary-hsl: 249 81% 60%;
}
Gradient
.gradient-5f45ec {
  background: linear-gradient(135deg, #5f45ec, #b245ec);
}
Colored shadow
.shadow-5f45ec {
  box-shadow: 0 8px 24px rgb(95 69 236 / 0.35);
}

Majorelle Blue
#5f45ec  rgb(95, 69, 236)  hsl(249, 81%, 60%)  Majorelle Blue
#d2ec45  rgb(210, 236, 69)  hsl(69, 81%, 60%)  Pear
#ec5f45  rgb(236, 95, 69)  hsl(9, 81%, 60%)  Tomato
#45ec5f  rgb(69, 236, 95)  hsl(129, 81%, 60%)  Malachite