#5012dc ≈ Ultramarine
#5012dc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.37% red, 7.06% green and 86.27% blue; printed in CMYK it uses 63.64% cyan, 91.82% magenta, 0% yellow and 13.73% black. Its hue angle is 258.42°, with 84.87% saturation and 46.67% 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.53:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.68.
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.0731 |
Shades
#5012dc mixed progressively with black.
Tints
#5012dc mixed progressively with white.
Tones
#5012dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5012dc {
color: #5012dc;
}
.bg-5012dc {
background-color: #5012dc;
color: #ffffff;
}
.border-5012dc {
border: 2px solid #5012dc;
}
:root {
--color-primary: #5012dc;
--color-primary-rgb: 80 18 220;
--color-primary-hsl: 258 85% 47%;
}
.gradient-5012dc {
background: linear-gradient(135deg, #5012dc, #b512dc);
}
.shadow-5012dc {
box-shadow: 0 8px 24px rgb(80 18 220 / 0.35);
}
Ultramarine
#5012dc rgb(80, 18, 220) hsl(258, 85%, 47%) Ultramarine
#9edc12 rgb(158, 220, 18) hsl(78, 85%, 47%) Yellow Green
#dc5012 rgb(220, 80, 18) hsl(18, 85%, 47%) Flame
#12dc50 rgb(18, 220, 80) hsl(138, 85%, 47%) Malachite