#2F4DFF

#2f4dff ≈ Majorelle Blue

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

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

Description generated from the measured properties of this color.

Conversions of #2f4dff 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.1313

Readable text 5.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.63:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #555db8 ≈ 0.001% of males
Protanopia #0070ff ≈ 1.01% of males
Deuteranopia #005bfc ≈ 1.27% of males
Tritanopia #0080a1 ≈ 0.0001% of males
Protanomaly #0064ff ≈ 1.08% of males
Deuteranomaly #0056fd ≈ 4.63% of males
Tritanomaly #006fcd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#2f4dff  rgb(47, 77, 255)  hsl(231, 100%, 59%)  Majorelle Blue
#ffe12f  rgb(255, 225, 47)  hsl(51, 100%, 59%)  Banana Yellow
#ff2f4d  rgb(255, 47, 77)  hsl(351, 100%, 59%)  Folly
#4dff2f  rgb(77, 255, 47)  hsl(111, 100%, 59%)  Neon Green