#4012ea ≈ Ultramarine
#4012ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 7.06% green and 91.76% blue; printed in CMYK it uses 72.65% cyan, 92.31% magenta, 0% yellow and 8.24% black. Its hue angle is 252.78°, with 85.71% saturation and 49.41% 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 8.42:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.24.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0746 |
Shades
#4012ea mixed progressively with black.
Tints
#4012ea mixed progressively with white.
Tones
#4012ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4012ea {
color: #4012ea;
}
.bg-4012ea {
background-color: #4012ea;
color: #ffffff;
}
.border-4012ea {
border: 2px solid #4012ea;
}
:root {
--color-primary: #4012ea;
--color-primary-rgb: 64 18 234;
--color-primary-hsl: 253 86% 49%;
}
.gradient-4012ea {
background: linear-gradient(135deg, #4012ea, #ac12ea);
}
.shadow-4012ea {
box-shadow: 0 8px 24px rgb(64 18 234 / 0.35);
}
Ultramarine
#4012ea rgb(64, 18, 234) hsl(253, 86%, 49%) Ultramarine
#bcea12 rgb(188, 234, 18) hsl(73, 86%, 49%) Electric Lime
#ea4012 rgb(234, 64, 18) hsl(13, 86%, 49%) Ferrari Red
#12ea40 rgb(18, 234, 64) hsl(133, 86%, 49%) Malachite