#5155EA

#5155ea ≈ Majorelle Blue

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

#5155ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 33.33% green and 91.76% blue; printed in CMYK it uses 65.38% cyan, 63.68% magenta, 0% yellow and 8.24% black. Its hue angle is 238.43°, with 78.46% saturation and 61.76% 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.47:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.06.

Description generated from the measured properties of this color.

Conversions of #5155ea 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.1419

Readable text 5.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.84:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #6062ac ≈ 0.001% of males
Protanopia #0070ef ≈ 1.01% of males
Deuteranopia #0062e7 ≈ 1.27% of males
Tritanopia #007b98 ≈ 0.0001% of males
Protanomaly #0066ed ≈ 1.08% of males
Deuteranomaly #005de8 ≈ 4.63% of males
Tritanomaly #086ebe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#5155ea  rgb(81, 85, 234)  hsl(238, 78%, 62%)  Majorelle Blue
#eae651  rgb(234, 230, 81)  hsl(58, 78%, 62%)  Dandelion
#ea5155  rgb(234, 81, 85)  hsl(358, 78%, 62%)  Indian Red
#55ea51  rgb(85, 234, 81)  hsl(118, 78%, 62%)  Malachite