#5151FA

#5151fa ≈ Majorelle Blue

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

#5151fa is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 31.76% red, 31.76% green and 98.04% blue; printed in CMYK it uses 67.6% cyan, 67.6% magenta, 0% yellow and 1.96% black. Its hue angle is 240°, with 94.41% saturation and 64.9% 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.37:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.92.

Description generated from the measured properties of this color.

Conversions of #5151fa 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.1454

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 #6161b6 ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #0063f7 ≈ 1.27% of males
Tritanopia #007f9f ≈ 0.0001% of males
Protanomaly #0067fd ≈ 1.08% of males
Deuteranomaly #005cf8 ≈ 4.63% of males
Tritanomaly #006fca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5151fa {
  color: #5151fa;
}
Background
.bg-5151fa {
  background-color: #5151fa;
  color: #ffffff;
}
Border
.border-5151fa {
  border: 2px solid #5151fa;
}
CSS variables
:root {
  --color-primary: #5151fa;
  --color-primary-rgb: 81 81 250;
  --color-primary-hsl: 240 94% 65%;
}
Gradient
.gradient-5151fa {
  background: linear-gradient(135deg, #5151fa, #a551fa);
}
Colored shadow
.shadow-5151fa {
  box-shadow: 0 8px 24px rgb(81 81 250 / 0.35);
}

Majorelle Blue
#5151fa  rgb(81, 81, 250)  hsl(240, 94%, 65%)  Majorelle Blue
#fafa51  rgb(250, 250, 81)  hsl(60, 94%, 65%)  Icterine
#fa5151  rgb(250, 81, 81)  hsl(0, 94%, 65%)  Pastel Red
#51fa51  rgb(81, 250, 81)  hsl(120, 94%, 65%)  Neon Green