#2C4FEF

#2c4fef ≈ Majorelle Blue

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

#2c4fef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 17.25% red, 30.98% green and 93.73% blue; printed in CMYK it uses 81.59% cyan, 66.95% magenta, 0% yellow and 6.27% black. Its hue angle is 229.23°, with 85.9% 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 6.05:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.36.

Description generated from the measured properties of this color.

Conversions of #2c4fef 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.1236

Readable text 6.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #525bad ≈ 0.001% of males
Protanopia #006cf4 ≈ 1.01% of males
Deuteranopia #0059ec ≈ 1.27% of males
Tritanopia #007b99 ≈ 0.0001% of males
Protanomaly #0062f2 ≈ 1.08% of males
Deuteranomaly #0055ed ≈ 4.63% of males
Tritanomaly #006cc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#2c4fef  rgb(44, 79, 239)  hsl(229, 86%, 55%)  Majorelle Blue
#efcc2c  rgb(239, 204, 44)  hsl(49, 86%, 55%)  Jonquil
#ef2c4f  rgb(239, 44, 79)  hsl(349, 86%, 55%)  Amaranth
#4fef2c  rgb(79, 239, 44)  hsl(109, 86%, 55%)  Neon Green