#5402ea ≈ Ultramarine
#5402ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 0.78% green and 91.76% blue; printed in CMYK it uses 64.1% cyan, 99.15% magenta, 0% yellow and 8.24% black. Its hue angle is 261.21°, with 98.31% saturation and 46.27% 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.16:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.44.
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.0787 |
Shades
#5402ea mixed progressively with black.
Tints
#5402ea mixed progressively with white.
Tones
#5402ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5402ea {
color: #5402ea;
}
.bg-5402ea {
background-color: #5402ea;
color: #ffffff;
}
.border-5402ea {
border: 2px solid #5402ea;
}
:root {
--color-primary: #5402ea;
--color-primary-rgb: 84 2 234;
--color-primary-hsl: 261 98% 46%;
}
.gradient-5402ea {
background: linear-gradient(135deg, #5402ea, #c802ea);
}
.shadow-5402ea {
box-shadow: 0 8px 24px rgb(84 2 234 / 0.35);
}
Ultramarine
#5402ea rgb(84, 2, 234) hsl(261, 98%, 46%) Ultramarine
#98ea02 rgb(152, 234, 2) hsl(81, 98%, 46%) Spring Bud
#ea5402 rgb(234, 84, 2) hsl(21, 98%, 46%) Persimmon
#02ea54 rgb(2, 234, 84) hsl(141, 98%, 46%) Malachite