#4054FA

#4054fa ≈ Majorelle Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#4054fa is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 32.94% green and 98.04% blue; printed in CMYK it uses 74.4% cyan, 66.4% magenta, 0% yellow and 1.96% black. Its hue angle is 233.55°, with 94.9% saturation and 61.57% 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.43:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.93.

Description generated from the measured properties of this color.

Conversions of #4054fa 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.1433

Readable text 5.43:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.87:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #5c62b6 ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #0061f7 ≈ 1.27% of males
Tritanopia #0081a0 ≈ 0.0001% of males
Protanomaly #0068fd ≈ 1.08% of males
Deuteranomaly #005cf8 ≈ 4.63% of males
Tritanomaly #0072ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4054fa {
  color: #4054fa;
}
Background
.bg-4054fa {
  background-color: #4054fa;
  color: #ffffff;
}
Border
.border-4054fa {
  border: 2px solid #4054fa;
}
CSS variables
:root {
  --color-primary: #4054fa;
  --color-primary-rgb: 64 84 250;
  --color-primary-hsl: 234 95% 62%;
}
Gradient
.gradient-4054fa {
  background: linear-gradient(135deg, #4054fa, #8940fa);
}
Colored shadow
.shadow-4054fa {
  box-shadow: 0 8px 24px rgb(64 84 250 / 0.35);
}

Majorelle Blue
#4054fa  rgb(64, 84, 250)  hsl(234, 95%, 62%)  Majorelle Blue
#fae640  rgb(250, 230, 64)  hsl(54, 95%, 62%)  Dandelion
#fa4054  rgb(250, 64, 84)  hsl(354, 95%, 62%)  Neon Fuchsia
#54fa40  rgb(84, 250, 64)  hsl(114, 95%, 62%)  Neon Green