#2A42FF

#2a42ff ≈ Majorelle Blue

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

#2a42ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 25.88% green and 100% blue; printed in CMYK it uses 83.53% cyan, 74.12% magenta, 0% yellow and 0% black. Its hue angle is 233.24°, 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 6.32: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 #2a42ff 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.1161

Readable text 6.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #4f55b6 ≈ 0.001% of males
Protanopia #006aff ≈ 1.01% of males
Deuteranopia #0055fc ≈ 1.27% of males
Tritanopia #007b9e ≈ 0.0001% of males
Protanomaly #005dff ≈ 1.08% of males
Deuteranomaly #004efd ≈ 4.63% of males
Tritanomaly #0068cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#2a42ff  rgb(42, 66, 255)  hsl(233, 100%, 58%)  Majorelle Blue
#ffe72a  rgb(255, 231, 42)  hsl(53, 100%, 58%)  Banana Yellow
#ff2a42  rgb(255, 42, 66)  hsl(353, 100%, 58%)  Tractor Red
#42ff2a  rgb(66, 255, 42)  hsl(113, 100%, 58%)  Neon Green