#2D42FA

#2d42fa ≈ Majorelle Blue

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

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

Description generated from the measured properties of this color.

Conversions of #2d42fa 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.1136

Readable text 6.42: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-2d42fa {
  color: #2d42fa;
}
Background
.bg-2d42fa {
  background-color: #2d42fa;
  color: #ffffff;
}
Border
.border-2d42fa {
  border: 2px solid #2d42fa;
}
CSS variables
:root {
  --color-primary: #2d42fa;
  --color-primary-rgb: 45 66 250;
  --color-primary-hsl: 234 95% 58%;
}
Gradient
.gradient-2d42fa {
  background: linear-gradient(135deg, #2d42fa, #7e2dfa);
}
Colored shadow
.shadow-2d42fa {
  box-shadow: 0 8px 24px rgb(45 66 250 / 0.35);
}

Majorelle Blue
#2d42fa  rgb(45, 66, 250)  hsl(234, 95%, 58%)  Majorelle Blue
#fae52d  rgb(250, 229, 45)  hsl(54, 95%, 58%)  Dandelion
#fa2d42  rgb(250, 45, 66)  hsl(354, 95%, 58%)  Tractor Red
#42fa2d  rgb(66, 250, 45)  hsl(114, 95%, 58%)  Neon Green