#4E12BA

#4e12ba ≈ Medium Blue

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

#4e12ba is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 30.59% red, 7.06% green and 72.94% blue; printed in CMYK it uses 58.06% cyan, 90.32% magenta, 0% yellow and 27.06% black. Its hue angle is 261.43°, with 82.35% saturation and 40% 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 9.91:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.13.

Description generated from the measured properties of this color.

Conversions of #4e12ba into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6600cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.056

Readable text 9.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #483584 ≈ 0.001% of males
Protanopia #0047be ≈ 1.01% of males
Deuteranopia #003eb7 ≈ 1.27% of males
Tritanopia #154c6d ≈ 0.0001% of males
Protanomaly #0038bd ≈ 1.08% of males
Deuteranomaly #0032b8 ≈ 4.63% of males
Tritanomaly #343c92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e12ba {
  color: #4e12ba;
}
Background
.bg-4e12ba {
  background-color: #4e12ba;
  color: #ffffff;
}
Border
.border-4e12ba {
  border: 2px solid #4e12ba;
}
CSS variables
:root {
  --color-primary: #4e12ba;
  --color-primary-rgb: 78 18 186;
  --color-primary-hsl: 261 82% 40%;
}
Gradient
.gradient-4e12ba {
  background: linear-gradient(135deg, #4e12ba, #a212ba);
}
Colored shadow
.shadow-4e12ba {
  box-shadow: 0 8px 24px rgb(78 18 186 / 0.35);
}

Medium Blue
#4e12ba  rgb(78, 18, 186)  hsl(261, 82%, 40%)  Medium Blue
#7eba12  rgb(126, 186, 18)  hsl(81, 82%, 40%)  Apple Green
#ba4e12  rgb(186, 78, 18)  hsl(21, 82%, 40%)  Mahogany
#12ba4e  rgb(18, 186, 78)  hsl(141, 82%, 40%)  Emerald