#540de2 ≈ Ultramarine
#540de2 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 88.63% blue; printed in CMYK it uses 62.83% cyan, 94.25% magenta, 0% yellow and 11.37% black. Its hue angle is 260°, with 89.12% saturation and 46.86% 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.29:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.13.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6600cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0766 |
Shades
#540de2 mixed progressively with black.
Tints
#540de2 mixed progressively with white.
Tones
#540de2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540de2 {
color: #540de2;
}
.bg-540de2 {
background-color: #540de2;
color: #ffffff;
}
.border-540de2 {
border: 2px solid #540de2;
}
:root {
--color-primary: #540de2;
--color-primary-rgb: 84 13 226;
--color-primary-hsl: 260 89% 47%;
}
.gradient-540de2 {
background: linear-gradient(135deg, #540de2, #be0de2);
}
.shadow-540de2 {
box-shadow: 0 8px 24px rgb(84 13 226 / 0.35);
}
Ultramarine
#540de2 rgb(84, 13, 226) hsl(260, 89%, 47%) Ultramarine
#9be20d rgb(155, 226, 13) hsl(80, 89%, 47%) Inchworm
#e2540d rgb(226, 84, 13) hsl(20, 89%, 47%) Flame
#0de254 rgb(13, 226, 84) hsl(140, 89%, 47%) Malachite