#5004ec ≈ Ultramarine
#5004ec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.37% red, 1.57% green and 92.55% blue; printed in CMYK it uses 66.1% cyan, 98.31% magenta, 0% yellow and 7.45% black. Its hue angle is 259.66°, with 96.67% saturation and 47.06% 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.17:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.1.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0785 |
Shades
#5004ec mixed progressively with black.
Tints
#5004ec mixed progressively with white.
Tones
#5004ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5004ec {
color: #5004ec;
}
.bg-5004ec {
background-color: #5004ec;
color: #ffffff;
}
.border-5004ec {
border: 2px solid #5004ec;
}
:root {
--color-primary: #5004ec;
--color-primary-rgb: 80 4 236;
--color-primary-hsl: 260 97% 47%;
}
.gradient-5004ec {
background: linear-gradient(135deg, #5004ec, #c404ec);
}
.shadow-5004ec {
box-shadow: 0 8px 24px rgb(80 4 236 / 0.35);
}
Ultramarine
#5004ec rgb(80, 4, 236) hsl(260, 97%, 47%) Ultramarine
#a0ec04 rgb(160, 236, 4) hsl(80, 97%, 47%) Spring Bud
#ec5004 rgb(236, 80, 4) hsl(20, 97%, 47%) Persimmon
#04ec50 rgb(4, 236, 80) hsl(140, 97%, 47%) Malachite