#4045FA

#4045fa ≈ Majorelle Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#4045fa is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 27.06% green and 98.04% blue; printed in CMYK it uses 74.4% cyan, 72.4% magenta, 0% yellow and 1.96% black. Its hue angle is 238.39°, with 94.9% saturation and 61.57% 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.09:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.83.

Description generated from the measured properties of this color.

Conversions of #4045fa 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.1225

Readable text 6.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #5658b4 ≈ 0.001% of males
Protanopia #006bff ≈ 1.01% of males
Deuteranopia #0059f7 ≈ 1.27% of males
Tritanopia #00799c ≈ 0.0001% of males
Protanomaly #005efd ≈ 1.08% of males
Deuteranomaly #0052f8 ≈ 4.63% of males
Tritanomaly #0068c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4045fa {
  color: #4045fa;
}
Background
.bg-4045fa {
  background-color: #4045fa;
  color: #ffffff;
}
Border
.border-4045fa {
  border: 2px solid #4045fa;
}
CSS variables
:root {
  --color-primary: #4045fa;
  --color-primary-rgb: 64 69 250;
  --color-primary-hsl: 238 95% 62%;
}
Gradient
.gradient-4045fa {
  background: linear-gradient(135deg, #4045fa, #9840fa);
}
Colored shadow
.shadow-4045fa {
  box-shadow: 0 8px 24px rgb(64 69 250 / 0.35);
}

Majorelle Blue
#4045fa  rgb(64, 69, 250)  hsl(238, 95%, 62%)  Majorelle Blue
#faf540  rgb(250, 245, 64)  hsl(58, 95%, 62%)  Icterine
#fa4045  rgb(250, 64, 69)  hsl(358, 95%, 62%)  Tractor Red
#45fa40  rgb(69, 250, 64)  hsl(118, 95%, 62%)  Neon Green