#4e12ba ≈ Medium Blue
#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.
| 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 luminance | 0.056 |
Shades
#4e12ba mixed progressively with black.
Tints
#4e12ba mixed progressively with white.
Tones
#4e12ba mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e12ba {
color: #4e12ba;
}
.bg-4e12ba {
background-color: #4e12ba;
color: #ffffff;
}
.border-4e12ba {
border: 2px solid #4e12ba;
}
:root {
--color-primary: #4e12ba;
--color-primary-rgb: 78 18 186;
--color-primary-hsl: 261 82% 40%;
}
.gradient-4e12ba {
background: linear-gradient(135deg, #4e12ba, #a212ba);
}
.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