#2E40FB

#2e40fb ≈ Majorelle Blue

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

#2e40fb 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.43% blue; printed in CMYK it uses 81.67% cyan, 74.5% magenta, 0% yellow and 1.57% black. Its hue angle is 234.73°, with 96.24% saturation and 58.24% 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.48:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.09.

Description generated from the measured properties of this color.

Conversions of #2e40fb 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.1121

Readable text 6.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #4f54b3 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0054f8 ≈ 1.27% of males
Tritanopia #00789b ≈ 0.0001% of males
Protanomaly #005bfe ≈ 1.08% of males
Deuteranomaly #004cf9 ≈ 4.63% of males
Tritanomaly #0066c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#2e40fb  rgb(46, 64, 251)  hsl(235, 96%, 58%)  Majorelle Blue
#fbe92e  rgb(251, 233, 46)  hsl(55, 96%, 58%)  Aureolin
#fb2e40  rgb(251, 46, 64)  hsl(355, 96%, 58%)  Tractor Red
#40fb2e  rgb(64, 251, 46)  hsl(115, 96%, 58%)  Neon Green