#2F51FC

#2f51fc ≈ Majorelle Blue

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

#2f51fc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 31.76% green and 98.82% blue; printed in CMYK it uses 81.35% cyan, 67.86% magenta, 0% yellow and 1.18% black. Its hue angle is 230.05°, with 97.16% saturation and 58.63% 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.67:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.54.

Description generated from the measured properties of this color.

Conversions of #2f51fc 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.1352

Readable text 5.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.7:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #565fb6 ≈ 0.001% of males
Protanopia #0071ff ≈ 1.01% of males
Deuteranopia #005df9 ≈ 1.27% of males
Tritanopia #0081a0 ≈ 0.0001% of males
Protanomaly #0066ff ≈ 1.08% of males
Deuteranomaly #0058fa ≈ 4.63% of males
Tritanomaly #0071cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#2f51fc  rgb(47, 81, 252)  hsl(230, 97%, 59%)  Majorelle Blue
#fcda2f  rgb(252, 218, 47)  hsl(50, 97%, 59%)  Banana Yellow
#fc2f51  rgb(252, 47, 81)  hsl(350, 97%, 59%)  Folly
#51fc2f  rgb(81, 252, 47)  hsl(110, 97%, 59%)  Neon Green