#5257EA

#5257ea ≈ Majorelle Blue

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

#5257ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 32.16% red, 34.12% green and 91.76% blue; printed in CMYK it uses 64.96% cyan, 62.82% magenta, 0% yellow and 8.24% black. Its hue angle is 238.03°, with 78.35% saturation and 61.96% 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 brand accents. White text on this color reaches a contrast ratio of 5.37:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.38.

Description generated from the measured properties of this color.

Conversions of #5257ea 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.1455

Readable text 5.37:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.91:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #6263ad ≈ 0.001% of males
Protanopia #0071ef ≈ 1.01% of males
Deuteranopia #0064e7 ≈ 1.27% of males
Tritanopia #007d99 ≈ 0.0001% of males
Protanomaly #0268ed ≈ 1.08% of males
Deuteranomaly #005fe8 ≈ 4.63% of males
Tritanomaly #0f6fbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5257ea {
  color: #5257ea;
}
Background
.bg-5257ea {
  background-color: #5257ea;
  color: #ffffff;
}
Border
.border-5257ea {
  border: 2px solid #5257ea;
}
CSS variables
:root {
  --color-primary: #5257ea;
  --color-primary-rgb: 82 87 234;
  --color-primary-hsl: 238 78% 62%;
}
Gradient
.gradient-5257ea {
  background: linear-gradient(135deg, #5257ea, #9952ea);
}
Colored shadow
.shadow-5257ea {
  box-shadow: 0 8px 24px rgb(82 87 234 / 0.35);
}

Majorelle Blue
#5257ea  rgb(82, 87, 234)  hsl(238, 78%, 62%)  Majorelle Blue
#eae552  rgb(234, 229, 82)  hsl(58, 78%, 62%)  Dandelion
#ea5257  rgb(234, 82, 87)  hsl(358, 78%, 62%)  Indian Red
#57ea52  rgb(87, 234, 82)  hsl(118, 78%, 62%)  Malachite