#4052FF

#4052ff ≈ Majorelle Blue

  • blue
  • Lightness: high
  • Saturation: strong
  • Cool

#4052ff is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 25.1% red, 32.16% green and 100% blue; printed in CMYK it uses 74.9% cyan, 67.84% magenta, 0% yellow and 0% black. Its hue angle is 234.35°, with 100% saturation and 62.55% 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 5.43:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.05.

Description generated from the measured properties of this color.

Conversions of #4052ff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1434

Readable text 5.43:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.87:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #5c61b9 ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #0061fc ≈ 1.27% of males
Tritanopia #0082a2 ≈ 0.0001% of males
Protanomaly #0067ff ≈ 1.08% of males
Deuteranomaly #005bfd ≈ 4.63% of males
Tritanomaly #0072ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4052ff {
  color: #4052ff;
}
Background
.bg-4052ff {
  background-color: #4052ff;
  color: #ffffff;
}
Border
.border-4052ff {
  border: 2px solid #4052ff;
}
CSS variables
:root {
  --color-primary: #4052ff;
  --color-primary-rgb: 64 82 255;
  --color-primary-hsl: 234 100% 63%;
}
Gradient
.gradient-4052ff {
  background: linear-gradient(135deg, #4052ff, #8e40ff);
}
Colored shadow
.shadow-4052ff {
  box-shadow: 0 8px 24px rgb(64 82 255 / 0.35);
}

Majorelle Blue
#4052ff  rgb(64, 82, 255)  hsl(234, 100%, 63%)  Majorelle Blue
#ffed40  rgb(255, 237, 64)  hsl(54, 100%, 63%)  Aureolin
#ff4052  rgb(255, 64, 82)  hsl(354, 100%, 63%)  Neon Fuchsia
#52ff40  rgb(82, 255, 64)  hsl(114, 100%, 63%)  Neon Green