#540dea ≈ Ultramarine
#540dea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 5.1% green and 91.76% blue; printed in CMYK it uses 64.1% cyan, 94.44% magenta, 0% yellow and 8.24% black. Its hue angle is 259.28°, with 89.47% saturation and 48.43% 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.01:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.36.
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.0811 |
Shades
#540dea mixed progressively with black.
Tints
#540dea mixed progressively with white.
Tones
#540dea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540dea {
color: #540dea;
}
.bg-540dea {
background-color: #540dea;
color: #ffffff;
}
.border-540dea {
border: 2px solid #540dea;
}
:root {
--color-primary: #540dea;
--color-primary-rgb: 84 13 234;
--color-primary-hsl: 259 89% 48%;
}
.gradient-540dea {
background: linear-gradient(135deg, #540dea, #c30dea);
}
.shadow-540dea {
box-shadow: 0 8px 24px rgb(84 13 234 / 0.35);
}
Ultramarine
#540dea rgb(84, 13, 234) hsl(259, 89%, 48%) Ultramarine
#a3ea0d rgb(163, 234, 13) hsl(79, 89%, 48%) Spring Bud
#ea540d rgb(234, 84, 13) hsl(19, 89%, 48%) Persimmon
#0dea54 rgb(13, 234, 84) hsl(139, 89%, 48%) Malachite