#5C42E2

#5c42e2 ≈ Majorelle Blue

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

#5c42e2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 36.08% red, 25.88% green and 88.63% blue; printed in CMYK it uses 59.29% cyan, 70.8% magenta, 0% yellow and 11.37% black. Its hue angle is 249.75°, with 73.39% saturation and 57.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 brand accents. White text on this color reaches a contrast ratio of 6.3:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.49.

Description generated from the measured properties of this color.

Conversions of #5c42e2 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.1166

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

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #5e55a5 ≈ 0.001% of males
Protanopia #0065e7 ≈ 1.01% of males
Deuteranopia #005adf ≈ 1.27% of males
Tritanopia #006e8e ≈ 0.0001% of males
Protanomaly #0059e5 ≈ 1.08% of males
Deuteranomaly #0052e0 ≈ 4.63% of males
Tritanomaly #385fb6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5c42e2 {
  color: #5c42e2;
}
Background
.bg-5c42e2 {
  background-color: #5c42e2;
  color: #ffffff;
}
Border
.border-5c42e2 {
  border: 2px solid #5c42e2;
}
CSS variables
:root {
  --color-primary: #5c42e2;
  --color-primary-rgb: 92 66 226;
  --color-primary-hsl: 250 73% 57%;
}
Gradient
.gradient-5c42e2 {
  background: linear-gradient(135deg, #5c42e2, #ac42e2);
}
Colored shadow
.shadow-5c42e2 {
  box-shadow: 0 8px 24px rgb(92 66 226 / 0.35);
}

Majorelle Blue
#5c42e2  rgb(92, 66, 226)  hsl(250, 73%, 57%)  Majorelle Blue
#c8e242  rgb(200, 226, 66)  hsl(70, 73%, 57%)  Pear
#e25c42  rgb(226, 92, 66)  hsl(10, 73%, 57%)  Cinnabar
#42e25c  rgb(66, 226, 92)  hsl(130, 73%, 57%)  Malachite