#4E51EC

#4e51ec ≈ Majorelle Blue

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

#4e51ec is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 31.76% green and 92.55% blue; printed in CMYK it uses 66.95% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 238.86°, with 80.61% saturation and 61.57% 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.66:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 2.89.

Description generated from the measured properties of this color.

Conversions of #4e51ec 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.1356

Readable text 5.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #5e5fad ≈ 0.001% of males
Protanopia #006ef1 ≈ 1.01% of males
Deuteranopia #0060e9 ≈ 1.27% of males
Tritanopia #007a98 ≈ 0.0001% of males
Protanomaly #0064ef ≈ 1.08% of males
Deuteranomaly #005aea ≈ 4.63% of males
Tritanomaly #006cbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e51ec {
  color: #4e51ec;
}
Background
.bg-4e51ec {
  background-color: #4e51ec;
  color: #ffffff;
}
Border
.border-4e51ec {
  border: 2px solid #4e51ec;
}
CSS variables
:root {
  --color-primary: #4e51ec;
  --color-primary-rgb: 78 81 236;
  --color-primary-hsl: 239 81% 62%;
}
Gradient
.gradient-4e51ec {
  background: linear-gradient(135deg, #4e51ec, #9a4eec);
}
Colored shadow
.shadow-4e51ec {
  box-shadow: 0 8px 24px rgb(78 81 236 / 0.35);
}

Majorelle Blue
#4e51ec  rgb(78, 81, 236)  hsl(239, 81%, 62%)  Majorelle Blue
#ece94e  rgb(236, 233, 78)  hsl(59, 81%, 62%)  Icterine
#ec4e51  rgb(236, 78, 81)  hsl(359, 81%, 62%)  Tractor Red
#51ec4e  rgb(81, 236, 78)  hsl(119, 81%, 62%)  Malachite