#4E40EA

#4e40ea ≈ Majorelle Blue

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

#4e40ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 25.1% green and 91.76% blue; printed in CMYK it uses 66.67% cyan, 72.65% magenta, 0% yellow and 8.24% black. Its hue angle is 244.94°, with 80.19% saturation and 58.43% 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 6.47:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.44.

Description generated from the measured properties of this color.

Conversions of #4e40ea 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.1123

Readable text 6.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.25:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5854a9 ≈ 0.001% of males
Protanopia #0065ef ≈ 1.01% of males
Deuteranopia #0057e7 ≈ 1.27% of males
Tritanopia #007092 ≈ 0.0001% of males
Protanomaly #0059ed ≈ 1.08% of males
Deuteranomaly #004fe8 ≈ 4.63% of males
Tritanomaly #0061bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e40ea {
  color: #4e40ea;
}
Background
.bg-4e40ea {
  background-color: #4e40ea;
  color: #ffffff;
}
Border
.border-4e40ea {
  border: 2px solid #4e40ea;
}
CSS variables
:root {
  --color-primary: #4e40ea;
  --color-primary-rgb: 78 64 234;
  --color-primary-hsl: 245 80% 58%;
}
Gradient
.gradient-4e40ea {
  background: linear-gradient(135deg, #4e40ea, #a340ea);
}
Colored shadow
.shadow-4e40ea {
  box-shadow: 0 8px 24px rgb(78 64 234 / 0.35);
}

Majorelle Blue
#4e40ea  rgb(78, 64, 234)  hsl(245, 80%, 58%)  Majorelle Blue
#dcea40  rgb(220, 234, 64)  hsl(65, 80%, 58%)  Pear
#ea4e40  rgb(234, 78, 64)  hsl(5, 80%, 58%)  Cinnabar
#40ea4e  rgb(64, 234, 78)  hsl(125, 80%, 58%)  Malachite