#5948EA

#5948ea ≈ Majorelle Blue

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

#5948ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 34.9% red, 28.24% green and 91.76% blue; printed in CMYK it uses 61.97% cyan, 69.23% magenta, 0% yellow and 8.24% black. Its hue angle is 246.3°, with 79.41% saturation and 60% 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.93:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 2.54.

Description generated from the measured properties of this color.

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

Readable text 5.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #605aab ≈ 0.001% of males
Protanopia #006aef ≈ 1.01% of males
Deuteranopia #005de7 ≈ 1.27% of males
Tritanopia #007494 ≈ 0.0001% of males
Protanomaly #005eed ≈ 1.08% of males
Deuteranomaly #0056e8 ≈ 4.63% of males
Tritanomaly #2b65bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5948ea {
  color: #5948ea;
}
Background
.bg-5948ea {
  background-color: #5948ea;
  color: #ffffff;
}
Border
.border-5948ea {
  border: 2px solid #5948ea;
}
CSS variables
:root {
  --color-primary: #5948ea;
  --color-primary-rgb: 89 72 234;
  --color-primary-hsl: 246 79% 60%;
}
Gradient
.gradient-5948ea {
  background: linear-gradient(135deg, #5948ea, #aa48ea);
}
Colored shadow
.shadow-5948ea {
  box-shadow: 0 8px 24px rgb(89 72 234 / 0.35);
}

Majorelle Blue
#5948ea  rgb(89, 72, 234)  hsl(246, 79%, 60%)  Majorelle Blue
#d9ea48  rgb(217, 234, 72)  hsl(66, 79%, 60%)  Pear
#ea5948  rgb(234, 89, 72)  hsl(6, 79%, 60%)  Cinnabar
#48ea59  rgb(72, 234, 89)  hsl(126, 79%, 60%)  Malachite