#2F51EC

#2f51ec ≈ Majorelle Blue

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

#2f51ec is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 31.76% green and 92.55% blue; printed in CMYK it uses 80.08% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 229.21°, with 83.26% saturation and 55.49% 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.98:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.32.

Description generated from the measured properties of this color.

Conversions of #2f51ec 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.1255

Readable text 5.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #535cac ≈ 0.001% of males
Protanopia #006cf1 ≈ 1.01% of males
Deuteranopia #005ae9 ≈ 1.27% of males
Tritanopia #007b98 ≈ 0.0001% of males
Protanomaly #0063ef ≈ 1.08% of males
Deuteranomaly #0057ea ≈ 4.63% of males
Tritanomaly #006dbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f51ec {
  color: #2f51ec;
}
Background
.bg-2f51ec {
  background-color: #2f51ec;
  color: #ffffff;
}
Border
.border-2f51ec {
  border: 2px solid #2f51ec;
}
CSS variables
:root {
  --color-primary: #2f51ec;
  --color-primary-rgb: 47 81 236;
  --color-primary-hsl: 229 83% 55%;
}
Gradient
.gradient-2f51ec {
  background: linear-gradient(135deg, #2f51ec, #6c2fec);
}
Colored shadow
.shadow-2f51ec {
  box-shadow: 0 8px 24px rgb(47 81 236 / 0.35);
}

Majorelle Blue
#2f51ec  rgb(47, 81, 236)  hsl(229, 83%, 55%)  Majorelle Blue
#ecca2f  rgb(236, 202, 47)  hsl(49, 83%, 55%)  Jonquil
#ec2f51  rgb(236, 47, 81)  hsl(349, 83%, 55%)  Amaranth
#51ec2f  rgb(81, 236, 47)  hsl(109, 83%, 55%)  Neon Green