#2C42FA

#2c42fa ≈ Majorelle Blue

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

#2c42fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 17.25% red, 25.88% green and 98.04% blue; printed in CMYK it uses 82.4% cyan, 73.6% magenta, 0% yellow and 1.96% black. Its hue angle is 233.59°, with 95.37% saturation and 57.65% 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.43:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.94.

Description generated from the measured properties of this color.

Conversions of #2c42fa 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.1133

Readable text 6.43:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #4f55b3 ≈ 0.001% of males
Protanopia #0069ff ≈ 1.01% of males
Deuteranopia #0054f7 ≈ 1.27% of males
Tritanopia #00799b ≈ 0.0001% of males
Protanomaly #005cfd ≈ 1.08% of males
Deuteranomaly #004ef8 ≈ 4.63% of males
Tritanomaly #0067c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c42fa {
  color: #2c42fa;
}
Background
.bg-2c42fa {
  background-color: #2c42fa;
  color: #ffffff;
}
Border
.border-2c42fa {
  border: 2px solid #2c42fa;
}
CSS variables
:root {
  --color-primary: #2c42fa;
  --color-primary-rgb: 44 66 250;
  --color-primary-hsl: 234 95% 58%;
}
Gradient
.gradient-2c42fa {
  background: linear-gradient(135deg, #2c42fa, #7d2cfa);
}
Colored shadow
.shadow-2c42fa {
  box-shadow: 0 8px 24px rgb(44 66 250 / 0.35);
}

Majorelle Blue
#2c42fa  rgb(44, 66, 250)  hsl(234, 95%, 58%)  Majorelle Blue
#fae42c  rgb(250, 228, 44)  hsl(54, 95%, 58%)  Dandelion
#fa2c42  rgb(250, 44, 66)  hsl(354, 95%, 58%)  Tractor Red
#42fa2c  rgb(66, 250, 44)  hsl(114, 95%, 58%)  Neon Green