#4E40F2

#4e40f2 ≈ Majorelle Blue

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

#4e40f2 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 94.9% blue; printed in CMYK it uses 67.77% cyan, 73.55% magenta, 0% yellow and 5.1% black. Its hue angle is 244.72°, with 87.25% saturation and 60% 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.29:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.58.

Description generated from the measured properties of this color.

Conversions of #4e40f2 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.117

Readable text 6.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.34:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #5955ae ≈ 0.001% of males
Protanopia #0068f7 ≈ 1.01% of males
Deuteranopia #0058ef ≈ 1.27% of males
Tritanopia #007396 ≈ 0.0001% of males
Protanomaly #005af5 ≈ 1.08% of males
Deuteranomaly #0050f0 ≈ 4.63% of males
Tritanomaly #0063c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#4e40f2  rgb(78, 64, 242)  hsl(245, 87%, 60%)  Majorelle Blue
#e4f240  rgb(228, 242, 64)  hsl(65, 87%, 60%)  Pear
#f24e40  rgb(242, 78, 64)  hsl(5, 87%, 60%)  Cinnabar
#40f24e  rgb(64, 242, 78)  hsl(125, 87%, 60%)  Neon Green