#2E40FA

#2e40fa ≈ Majorelle Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#2e40fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.04% red, 25.1% green and 98.04% blue; printed in CMYK it uses 81.6% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 234.71°, with 95.33% saturation and 58.04% 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.5:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.07.

Description generated from the measured properties of this color.

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

Readable text 6.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #4f53b3 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0053f7 ≈ 1.27% of males
Tritanopia #00789b ≈ 0.0001% of males
Protanomaly #005bfd ≈ 1.08% of males
Deuteranomaly #004cf8 ≈ 4.63% of males
Tritanomaly #0066c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2e40fa {
  color: #2e40fa;
}
Background
.bg-2e40fa {
  background-color: #2e40fa;
  color: #ffffff;
}
Border
.border-2e40fa {
  border: 2px solid #2e40fa;
}
CSS variables
:root {
  --color-primary: #2e40fa;
  --color-primary-rgb: 46 64 250;
  --color-primary-hsl: 235 95% 58%;
}
Gradient
.gradient-2e40fa {
  background: linear-gradient(135deg, #2e40fa, #822efa);
}
Colored shadow
.shadow-2e40fa {
  box-shadow: 0 8px 24px rgb(46 64 250 / 0.35);
}

Majorelle Blue
#2e40fa  rgb(46, 64, 250)  hsl(235, 95%, 58%)  Majorelle Blue
#fae82e  rgb(250, 232, 46)  hsl(55, 95%, 58%)  Dandelion
#fa2e40  rgb(250, 46, 64)  hsl(355, 95%, 58%)  Tractor Red
#40fa2e  rgb(64, 250, 46)  hsl(115, 95%, 58%)  Neon Green