#4002ea ≈ Ultramarine
#4002ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 0.78% green and 91.76% blue; printed in CMYK it uses 72.65% cyan, 99.15% magenta, 0% yellow and 8.24% black. Its hue angle is 256.03°, 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.7:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.52.
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.0707 |
Shades
#4002ea mixed progressively with black.
Tints
#4002ea mixed progressively with white.
Tones
#4002ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4002ea {
color: #4002ea;
}
.bg-4002ea {
background-color: #4002ea;
color: #ffffff;
}
.border-4002ea {
border: 2px solid #4002ea;
}
:root {
--color-primary: #4002ea;
--color-primary-rgb: 64 2 234;
--color-primary-hsl: 256 98% 46%;
}
.gradient-4002ea {
background: linear-gradient(135deg, #4002ea, #b402ea);
}
.shadow-4002ea {
box-shadow: 0 8px 24px rgb(64 2 234 / 0.35);
}
Ultramarine
#4002ea rgb(64, 2, 234) hsl(256, 98%, 46%) Ultramarine
#acea02 rgb(172, 234, 2) hsl(76, 98%, 46%) Spring Bud
#ea4002 rgb(234, 64, 2) hsl(16, 98%, 46%) Coquelicot
#02ea40 rgb(2, 234, 64) hsl(136, 98%, 46%) Malachite