#6740EB

#6740eb ≈ Majorelle Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#6740eb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 40.39% red, 25.1% green and 92.16% blue; printed in CMYK it uses 56.17% cyan, 72.77% magenta, 0% yellow and 7.84% black. Its hue angle is 253.68°, with 81.04% saturation and 58.63% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 5.98:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 4.11.

Description generated from the measured properties of this color.

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

Readable text 5.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6557ab ≈ 0.001% of males
Protanopia #0068f0 ≈ 1.01% of males
Deuteranopia #005ee8 ≈ 1.27% of males
Tritanopia #246f92 ≈ 0.0001% of males
Protanomaly #005bee ≈ 1.08% of males
Deuteranomaly #0054e9 ≈ 4.63% of males
Tritanomaly #4860bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6740eb {
  color: #6740eb;
}
Background
.bg-6740eb {
  background-color: #6740eb;
  color: #ffffff;
}
Border
.border-6740eb {
  border: 2px solid #6740eb;
}
CSS variables
:root {
  --color-primary: #6740eb;
  --color-primary-rgb: 103 64 235;
  --color-primary-hsl: 254 81% 59%;
}
Gradient
.gradient-6740eb {
  background: linear-gradient(135deg, #6740eb, #bc40eb);
}
Colored shadow
.shadow-6740eb {
  box-shadow: 0 8px 24px rgb(103 64 235 / 0.35);
}

Majorelle Blue
#6740eb  rgb(103, 64, 235)  hsl(254, 81%, 59%)  Majorelle Blue
#c4eb40  rgb(196, 235, 64)  hsl(74, 81%, 59%)  Pear
#eb6740  rgb(235, 103, 64)  hsl(14, 81%, 59%)  Burnt Sienna
#40eb67  rgb(64, 235, 103)  hsl(134, 81%, 59%)  Malachite