#3A40FC

#3a40fc ≈ Majorelle Blue

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

#3a40fc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 22.75% red, 25.1% green and 98.82% blue; printed in CMYK it uses 76.98% cyan, 74.6% magenta, 0% yellow and 1.18% black. Its hue angle is 238.14°, with 97% saturation and 60.78% 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.33:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.66.

Description generated from the measured properties of this color.

Conversions of #3a40fc 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.1159

Readable text 6.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #5355b4 ≈ 0.001% of males
Protanopia #0069ff ≈ 1.01% of males
Deuteranopia #0056f9 ≈ 1.27% of males
Tritanopia #00789c ≈ 0.0001% of males
Protanomaly #005bff ≈ 1.08% of males
Deuteranomaly #004efa ≈ 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-3a40fc {
  color: #3a40fc;
}
Background
.bg-3a40fc {
  background-color: #3a40fc;
  color: #ffffff;
}
Border
.border-3a40fc {
  border: 2px solid #3a40fc;
}
CSS variables
:root {
  --color-primary: #3a40fc;
  --color-primary-rgb: 58 64 252;
  --color-primary-hsl: 238 97% 61%;
}
Gradient
.gradient-3a40fc {
  background: linear-gradient(135deg, #3a40fc, #953afc);
}
Colored shadow
.shadow-3a40fc {
  box-shadow: 0 8px 24px rgb(58 64 252 / 0.35);
}

Majorelle Blue
#3a40fc  rgb(58, 64, 252)  hsl(238, 97%, 61%)  Majorelle Blue
#fcf63a  rgb(252, 246, 58)  hsl(58, 97%, 61%)  Lemon
#fc3a40  rgb(252, 58, 64)  hsl(358, 97%, 61%)  Tractor Red
#40fc3a  rgb(64, 252, 58)  hsl(118, 97%, 61%)  Neon Green