#400ef2 ≈ Ultramarine
#400ef2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 25.1% red, 5.49% green and 94.9% blue; printed in CMYK it uses 73.55% cyan, 94.21% magenta, 0% yellow and 5.1% black. Its hue angle is 253.16°, with 89.76% saturation and 50.2% 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.19:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.36.
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.0781 |
Shades
#400ef2 mixed progressively with black.
Tints
#400ef2 mixed progressively with white.
Tones
#400ef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400ef2 {
color: #400ef2;
}
.bg-400ef2 {
background-color: #400ef2;
color: #ffffff;
}
.border-400ef2 {
border: 2px solid #400ef2;
}
:root {
--color-primary: #400ef2;
--color-primary-rgb: 64 14 242;
--color-primary-hsl: 253 90% 50%;
}
.gradient-400ef2 {
background: linear-gradient(135deg, #400ef2, #b20ef2);
}
.shadow-400ef2 {
box-shadow: 0 8px 24px rgb(64 14 242 / 0.35);
}
Ultramarine
#400ef2 rgb(64, 14, 242) hsl(253, 90%, 50%) Ultramarine
#c0f20e rgb(192, 242, 14) hsl(73, 90%, 50%) Electric Lime
#f2400e rgb(242, 64, 14) hsl(13, 90%, 50%) Coquelicot
#0ef240 rgb(14, 242, 64) hsl(133, 90%, 50%) Lime