#2D51EF

#2d51ef ≈ Majorelle Blue

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

#2d51ef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 17.65% red, 31.76% green and 93.73% blue; printed in CMYK it uses 81.17% cyan, 66.11% magenta, 0% yellow and 6.27% black. Its hue angle is 228.87°, with 85.84% saturation and 55.69% 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.94:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.43.

Description generated from the measured properties of this color.

Conversions of #2d51ef 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.1267

Readable text 5.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.53:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #535dae ≈ 0.001% of males
Protanopia #006df4 ≈ 1.01% of males
Deuteranopia #005bec ≈ 1.27% of males
Tritanopia #007c99 ≈ 0.0001% of males
Protanomaly #0063f2 ≈ 1.08% of males
Deuteranomaly #0057ed ≈ 4.63% of males
Tritanomaly #006dc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d51ef {
  color: #2d51ef;
}
Background
.bg-2d51ef {
  background-color: #2d51ef;
  color: #ffffff;
}
Border
.border-2d51ef {
  border: 2px solid #2d51ef;
}
CSS variables
:root {
  --color-primary: #2d51ef;
  --color-primary-rgb: 45 81 239;
  --color-primary-hsl: 229 86% 56%;
}
Gradient
.gradient-2d51ef {
  background: linear-gradient(135deg, #2d51ef, #6a2def);
}
Colored shadow
.shadow-2d51ef {
  box-shadow: 0 8px 24px rgb(45 81 239 / 0.35);
}

Majorelle Blue
#2d51ef  rgb(45, 81, 239)  hsl(229, 86%, 56%)  Majorelle Blue
#efcb2d  rgb(239, 203, 45)  hsl(49, 86%, 56%)  Jonquil
#ef2d51  rgb(239, 45, 81)  hsl(349, 86%, 56%)  Amaranth
#51ef2d  rgb(81, 239, 45)  hsl(109, 86%, 56%)  Neon Green