#3A42FF

#3a42ff ≈ Majorelle Blue

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

#3a42ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 22.75% red, 25.88% green and 100% blue; printed in CMYK it uses 77.25% cyan, 74.12% magenta, 0% yellow and 0% black. Its hue angle is 237.56°, with 100% saturation and 61.37% 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.17:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.54.

Description generated from the measured properties of this color.

Conversions of #3a42ff 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.1202

Readable text 6.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #5456b7 ≈ 0.001% of males
Protanopia #006bff ≈ 1.01% of males
Deuteranopia #0057fc ≈ 1.27% of males
Tritanopia #007a9e ≈ 0.0001% of males
Protanomaly #005dff ≈ 1.08% of males
Deuteranomaly #0050fd ≈ 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-3a42ff {
  color: #3a42ff;
}
Background
.bg-3a42ff {
  background-color: #3a42ff;
  color: #ffffff;
}
Border
.border-3a42ff {
  border: 2px solid #3a42ff;
}
CSS variables
:root {
  --color-primary: #3a42ff;
  --color-primary-rgb: 58 66 255;
  --color-primary-hsl: 238 100% 61%;
}
Gradient
.gradient-3a42ff {
  background: linear-gradient(135deg, #3a42ff, #943aff);
}
Colored shadow
.shadow-3a42ff {
  box-shadow: 0 8px 24px rgb(58 66 255 / 0.35);
}

Majorelle Blue
#3a42ff  rgb(58, 66, 255)  hsl(238, 100%, 61%)  Majorelle Blue
#fff73a  rgb(255, 247, 58)  hsl(58, 100%, 61%)  Lemon
#ff3a42  rgb(255, 58, 66)  hsl(358, 100%, 61%)  Tractor Red
#42ff3a  rgb(66, 255, 58)  hsl(118, 100%, 61%)  Neon Green