#2A40FA

#2a40fa ≈ Majorelle Blue

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

#2a40fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 25.1% green and 98.04% blue; printed in CMYK it uses 83.2% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 233.65°, with 95.41% saturation and 57.25% 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.54:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.22.

Description generated from the measured properties of this color.

Conversions of #2a40fa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1106

Readable text 6.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #4e53b3 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0053f7 ≈ 1.27% of males
Tritanopia #00789b ≈ 0.0001% of males
Protanomaly #005afd ≈ 1.08% of males
Deuteranomaly #004cf8 ≈ 4.63% of males
Tritanomaly #0066c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Majorelle Blue
#2a40fa  rgb(42, 64, 250)  hsl(234, 95%, 57%)  Majorelle Blue
#fae42a  rgb(250, 228, 42)  hsl(54, 95%, 57%)  Dandelion
#fa2a40  rgb(250, 42, 64)  hsl(354, 95%, 57%)  Tractor Red
#40fa2a  rgb(64, 250, 42)  hsl(114, 95%, 57%)  Neon Green