#5d04cb ≈ Ultramarine
#5d04cb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.47% red, 1.57% green and 79.61% blue; printed in CMYK it uses 54.19% cyan, 98.03% magenta, 0% yellow and 20.39% black. Its hue angle is 266.83°, with 96.14% saturation and 40.59% 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.95:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 6.09.
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.0673 |
Shades
#5d04cb mixed progressively with black.
Tints
#5d04cb mixed progressively with white.
Tones
#5d04cb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5d04cb {
color: #5d04cb;
}
.bg-5d04cb {
background-color: #5d04cb;
color: #ffffff;
}
.border-5d04cb {
border: 2px solid #5d04cb;
}
:root {
--color-primary: #5d04cb;
--color-primary-rgb: 93 4 203;
--color-primary-hsl: 267 96% 41%;
}
.gradient-5d04cb {
background: linear-gradient(135deg, #5d04cb, #c004cb);
}
.shadow-5d04cb {
box-shadow: 0 8px 24px rgb(93 4 203 / 0.35);
}
Ultramarine
#5d04cb rgb(93, 4, 203) hsl(267, 96%, 41%) Ultramarine
#72cb04 rgb(114, 203, 4) hsl(87, 96%, 41%) Yellow Green
#cb5d04 rgb(203, 93, 4) hsl(27, 96%, 41%) Burnt Orange
#04cb5d rgb(4, 203, 93) hsl(147, 96%, 41%) Malachite