#400ffd ≈ Ultramarine
#400ffd 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.88% green and 99.22% blue; printed in CMYK it uses 74.7% cyan, 94.07% magenta, 0% yellow and 0.78% black. Its hue angle is 252.35°, with 98.35% saturation and 52.55% 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 7.76:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.67.
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.0852 |
Shades
#400ffd mixed progressively with black.
Tints
#400ffd mixed progressively with white.
Tones
#400ffd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400ffd {
color: #400ffd;
}
.bg-400ffd {
background-color: #400ffd;
color: #ffffff;
}
.border-400ffd {
border: 2px solid #400ffd;
}
:root {
--color-primary: #400ffd;
--color-primary-rgb: 64 15 253;
--color-primary-hsl: 252 98% 53%;
}
.gradient-400ffd {
background: linear-gradient(135deg, #400ffd, #b70ffd);
}
.shadow-400ffd {
box-shadow: 0 8px 24px rgb(64 15 253 / 0.35);
}
Ultramarine
#400ffd rgb(64, 15, 253) hsl(252, 98%, 53%) Ultramarine
#ccfd0f rgb(204, 253, 15) hsl(72, 98%, 53%) Electric Lime
#fd400f rgb(253, 64, 15) hsl(12, 98%, 53%) Coquelicot
#0ffd40 rgb(15, 253, 64) hsl(132, 98%, 53%) Lime