#2B40FC

#2b40fc ≈ Majorelle Blue

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

#2b40fc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.86% red, 25.1% green and 98.82% blue; printed in CMYK it uses 82.94% cyan, 74.6% magenta, 0% yellow and 1.18% black. Its hue angle is 233.97°, with 97.21% saturation and 57.84% 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.48:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.2.

Description generated from the measured properties of this color.

Conversions of #2b40fc 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.1121

Readable text 6.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #4e54b4 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0053f9 ≈ 1.27% of males
Tritanopia #00799c ≈ 0.0001% of males
Protanomaly #005bff ≈ 1.08% of males
Deuteranomaly #004cfa ≈ 4.63% of males
Tritanomaly #0066ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2b40fc {
  color: #2b40fc;
}
Background
.bg-2b40fc {
  background-color: #2b40fc;
  color: #ffffff;
}
Border
.border-2b40fc {
  border: 2px solid #2b40fc;
}
CSS variables
:root {
  --color-primary: #2b40fc;
  --color-primary-rgb: 43 64 252;
  --color-primary-hsl: 234 97% 58%;
}
Gradient
.gradient-2b40fc {
  background: linear-gradient(135deg, #2b40fc, #7e2bfc);
}
Colored shadow
.shadow-2b40fc {
  box-shadow: 0 8px 24px rgb(43 64 252 / 0.35);
}

Majorelle Blue
#2b40fc  rgb(43, 64, 252)  hsl(234, 97%, 58%)  Majorelle Blue
#fce72b  rgb(252, 231, 43)  hsl(54, 97%, 58%)  Dandelion
#fc2b40  rgb(252, 43, 64)  hsl(354, 97%, 58%)  Tractor Red
#40fc2b  rgb(64, 252, 43)  hsl(114, 97%, 58%)  Neon Green