#2A50FF

#2a50ff ≈ Majorelle Blue

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

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

Description generated from the measured properties of this color.

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

Readable text 5.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #555eb8 ≈ 0.001% of males
Protanopia #0071ff ≈ 1.01% of males
Deuteranopia #005cfc ≈ 1.27% of males
Tritanopia #0081a2 ≈ 0.0001% of males
Protanomaly #0065ff ≈ 1.08% of males
Deuteranomaly #0058fd ≈ 4.63% of males
Tritanomaly #0071ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a50ff {
  color: #2a50ff;
}
Background
.bg-2a50ff {
  background-color: #2a50ff;
  color: #ffffff;
}
Border
.border-2a50ff {
  border: 2px solid #2a50ff;
}
CSS variables
:root {
  --color-primary: #2a50ff;
  --color-primary-rgb: 42 80 255;
  --color-primary-hsl: 229 100% 58%;
}
Gradient
.gradient-2a50ff {
  background: linear-gradient(135deg, #2a50ff, #6f2aff);
}
Colored shadow
.shadow-2a50ff {
  box-shadow: 0 8px 24px rgb(42 80 255 / 0.35);
}

Majorelle Blue
#2a50ff  rgb(42, 80, 255)  hsl(229, 100%, 58%)  Majorelle Blue
#ffd92a  rgb(255, 217, 42)  hsl(49, 100%, 58%)  Gold
#ff2a50  rgb(255, 42, 80)  hsl(349, 100%, 58%)  Folly
#50ff2a  rgb(80, 255, 42)  hsl(109, 100%, 58%)  Neon Green