#2F52FF

#2f52ff ≈ Majorelle Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#2f52ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 32.16% green and 100% blue; printed in CMYK it uses 81.57% cyan, 67.84% magenta, 0% yellow and 0% black. Its hue angle is 229.9°, with 100% saturation and 59.22% 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.57:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.74.

Description generated from the measured properties of this color.

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

Readable text 5.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.77:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #5760b9 ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #005efc ≈ 1.27% of males
Tritanopia #0082a2 ≈ 0.0001% of males
Protanomaly #0067ff ≈ 1.08% of males
Deuteranomaly #0059fd ≈ 4.63% of males
Tritanomaly #0072ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f52ff {
  color: #2f52ff;
}
Background
.bg-2f52ff {
  background-color: #2f52ff;
  color: #ffffff;
}
Border
.border-2f52ff {
  border: 2px solid #2f52ff;
}
CSS variables
:root {
  --color-primary: #2f52ff;
  --color-primary-rgb: 47 82 255;
  --color-primary-hsl: 230 100% 59%;
}
Gradient
.gradient-2f52ff {
  background: linear-gradient(135deg, #2f52ff, #742fff);
}
Colored shadow
.shadow-2f52ff {
  box-shadow: 0 8px 24px rgb(47 82 255 / 0.35);
}

Majorelle Blue
#2f52ff  rgb(47, 82, 255)  hsl(230, 100%, 59%)  Majorelle Blue
#ffdc2f  rgb(255, 220, 47)  hsl(50, 100%, 59%)  Banana Yellow
#ff2f52  rgb(255, 47, 82)  hsl(350, 100%, 59%)  Folly
#52ff2f  rgb(82, 255, 47)  hsl(110, 100%, 59%)  Neon Green