#5155FF

#5155ff ≈ Majorelle Blue

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

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

Description generated from the measured properties of this color.

Conversions of #5155ff 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.1547

Readable text 5.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #6365ba ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #0066fc ≈ 1.27% of males
Tritanopia #0083a3 ≈ 0.0001% of males
Protanomaly #006aff ≈ 1.08% of males
Deuteranomaly #005ffd ≈ 4.63% of males
Tritanomaly #0073ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#5155ff  rgb(81, 85, 255)  hsl(239, 100%, 66%)  Majorelle Blue
#fffb51  rgb(255, 251, 81)  hsl(59, 100%, 66%)  Icterine
#ff5155  rgb(255, 81, 85)  hsl(359, 100%, 66%)  Pastel Red
#55ff51  rgb(85, 255, 81)  hsl(119, 100%, 66%)  Neon Green