#5F56EF

#5f56ef ≈ Majorelle Blue

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

#5f56ef is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 37.25% red, 33.73% green and 93.73% blue; printed in CMYK it uses 60.25% cyan, 64.02% magenta, 0% yellow and 6.27% black. Its hue angle is 243.53°, with 82.7% saturation and 63.73% 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.17:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.15.

Description generated from the measured properties of this color.

Conversions of #5f56ef 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.1532

Readable text 5.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #6865b1 ≈ 0.001% of males
Protanopia #0073f4 ≈ 1.01% of males
Deuteranopia #0067ec ≈ 1.27% of males
Tritanopia #007d9b ≈ 0.0001% of males
Protanomaly #1869f2 ≈ 1.08% of males
Deuteranomaly #0361ed ≈ 4.63% of males
Tritanomaly #356fc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f56ef {
  color: #5f56ef;
}
Background
.bg-5f56ef {
  background-color: #5f56ef;
  color: #ffffff;
}
Border
.border-5f56ef {
  border: 2px solid #5f56ef;
}
CSS variables
:root {
  --color-primary: #5f56ef;
  --color-primary-rgb: 95 86 239;
  --color-primary-hsl: 244 83% 64%;
}
Gradient
.gradient-5f56ef {
  background: linear-gradient(135deg, #5f56ef, #ac56ef);
}
Colored shadow
.shadow-5f56ef {
  box-shadow: 0 8px 24px rgb(95 86 239 / 0.35);
}

Majorelle Blue
#5f56ef  rgb(95, 86, 239)  hsl(244, 83%, 64%)  Majorelle Blue
#e6ef56  rgb(230, 239, 86)  hsl(64, 83%, 64%)  Icterine
#ef5f56  rgb(239, 95, 86)  hsl(4, 83%, 64%)  Pastel Red
#56ef5f  rgb(86, 239, 95)  hsl(124, 83%, 64%)  Spring Green