#5252FF

#5252ff ≈ Majorelle Blue

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

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

Description generated from the measured properties of this color.

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

Readable text 5.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #6363ba ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #0064fc ≈ 1.27% of males
Tritanopia #0081a2 ≈ 0.0001% of males
Protanomaly #0068ff ≈ 1.08% of males
Deuteranomaly #005dfd ≈ 4.63% of males
Tritanomaly #0071ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#5252ff  rgb(82, 82, 255)  hsl(240, 100%, 66%)  Majorelle Blue
#ffff52  rgb(255, 255, 82)  hsl(60, 100%, 66%)  Laser Lemon
#ff5252  rgb(255, 82, 82)  hsl(0, 100%, 66%)  Pastel Red
#52ff52  rgb(82, 255, 82)  hsl(120, 100%, 66%)  Neon Green