#2B40FF

#2b40ff ≈ Majorelle Blue

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

#2b40ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.86% red, 25.1% green and 100% blue; printed in CMYK it uses 83.14% cyan, 74.9% magenta, 0% yellow and 0% black. Its hue angle is 234.06°, with 100% 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.4:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.25.

Description generated from the measured properties of this color.

Conversions of #2b40ff 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.114

Readable text 6.4:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #4f54b6 ≈ 0.001% of males
Protanopia #0069ff ≈ 1.01% of males
Deuteranopia #0054fc ≈ 1.27% of males
Tritanopia #007a9d ≈ 0.0001% of males
Protanomaly #005cff ≈ 1.08% of males
Deuteranomaly #004dfd ≈ 4.63% of males
Tritanomaly #0067cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b40ff {
  color: #2b40ff;
}
Background
.bg-2b40ff {
  background-color: #2b40ff;
  color: #ffffff;
}
Border
.border-2b40ff {
  border: 2px solid #2b40ff;
}
CSS variables
:root {
  --color-primary: #2b40ff;
  --color-primary-rgb: 43 64 255;
  --color-primary-hsl: 234 100% 58%;
}
Gradient
.gradient-2b40ff {
  background: linear-gradient(135deg, #2b40ff, #802bff);
}
Colored shadow
.shadow-2b40ff {
  box-shadow: 0 8px 24px rgb(43 64 255 / 0.35);
}

Majorelle Blue
#2b40ff  rgb(43, 64, 255)  hsl(234, 100%, 58%)  Majorelle Blue
#ffea2b  rgb(255, 234, 43)  hsl(54, 100%, 58%)  Aureolin
#ff2b40  rgb(255, 43, 64)  hsl(354, 100%, 58%)  Tractor Red
#40ff2b  rgb(64, 255, 43)  hsl(114, 100%, 58%)  Neon Green