#2A51EC

#2a51ec ≈ Majorelle Blue

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

#2a51ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 31.76% green and 92.55% blue; printed in CMYK it uses 82.2% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 227.94°, with 83.62% saturation and 54.51% 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 6.02:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.63.

Description generated from the measured properties of this color.

Conversions of #2a51ec 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.1243

Readable text 6.02:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #525cac ≈ 0.001% of males
Protanopia #006cf1 ≈ 1.01% of males
Deuteranopia #005ae9 ≈ 1.27% of males
Tritanopia #007b98 ≈ 0.0001% of males
Protanomaly #0062ef ≈ 1.08% of males
Deuteranomaly #0056ea ≈ 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-2a51ec {
  color: #2a51ec;
}
Background
.bg-2a51ec {
  background-color: #2a51ec;
  color: #ffffff;
}
Border
.border-2a51ec {
  border: 2px solid #2a51ec;
}
CSS variables
:root {
  --color-primary: #2a51ec;
  --color-primary-rgb: 42 81 236;
  --color-primary-hsl: 228 84% 55%;
}
Gradient
.gradient-2a51ec {
  background: linear-gradient(135deg, #2a51ec, #642aec);
}
Colored shadow
.shadow-2a51ec {
  box-shadow: 0 8px 24px rgb(42 81 236 / 0.35);
}

Majorelle Blue
#2a51ec  rgb(42, 81, 236)  hsl(228, 84%, 55%)  Majorelle Blue
#ecc52a  rgb(236, 197, 42)  hsl(48, 84%, 55%)  Jonquil
#ec2a51  rgb(236, 42, 81)  hsl(348, 84%, 55%)  Amaranth
#51ec2a  rgb(81, 236, 42)  hsl(108, 84%, 55%)  Neon Green