#3A42FE

#3a42fe ≈ Majorelle Blue

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

#3a42fe 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 99.61% blue; printed in CMYK it uses 77.17% cyan, 74.02% magenta, 0% yellow and 0.39% black. Its hue angle is 237.55°, with 98.99% saturation and 61.18% 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.19:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.51.

Description generated from the measured properties of this color.

Conversions of #3a42fe 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.1195

Readable text 6.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #5456b6 ≈ 0.001% of males
Protanopia #006bff ≈ 1.01% of males
Deuteranopia #0057fb ≈ 1.27% of males
Tritanopia #007a9d ≈ 0.0001% of males
Protanomaly #005dff ≈ 1.08% of males
Deuteranomaly #004ffc ≈ 4.63% of males
Tritanomaly #0068cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3a42fe {
  color: #3a42fe;
}
Background
.bg-3a42fe {
  background-color: #3a42fe;
  color: #ffffff;
}
Border
.border-3a42fe {
  border: 2px solid #3a42fe;
}
CSS variables
:root {
  --color-primary: #3a42fe;
  --color-primary-rgb: 58 66 254;
  --color-primary-hsl: 238 99% 61%;
}
Gradient
.gradient-3a42fe {
  background: linear-gradient(135deg, #3a42fe, #943afe);
}
Colored shadow
.shadow-3a42fe {
  box-shadow: 0 8px 24px rgb(58 66 254 / 0.35);
}

Majorelle Blue
#3a42fe  rgb(58, 66, 254)  hsl(238, 99%, 61%)  Majorelle Blue
#fef63a  rgb(254, 246, 58)  hsl(58, 99%, 61%)  Cadmium Yellow
#fe3a42  rgb(254, 58, 66)  hsl(358, 99%, 61%)  Tractor Red
#42fe3a  rgb(66, 254, 58)  hsl(118, 99%, 61%)  Neon Green