#540dd2 ≈ Ultramarine
#540dd2 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 82.35% blue; printed in CMYK it uses 60% cyan, 93.81% magenta, 0% yellow and 17.65% black. Its hue angle is 261.62°, with 88.34% saturation and 43.73% 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.88:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 4.96.
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.0683 |
Shades
#540dd2 mixed progressively with black.
Tints
#540dd2 mixed progressively with white.
Tones
#540dd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540dd2 {
color: #540dd2;
}
.bg-540dd2 {
background-color: #540dd2;
color: #ffffff;
}
.border-540dd2 {
border: 2px solid #540dd2;
}
:root {
--color-primary: #540dd2;
--color-primary-rgb: 84 13 210;
--color-primary-hsl: 262 88% 44%;
}
.gradient-540dd2 {
background: linear-gradient(135deg, #540dd2, #b70dd2);
}
.shadow-540dd2 {
box-shadow: 0 8px 24px rgb(84 13 210 / 0.35);
}
Ultramarine
#540dd2 rgb(84, 13, 210) hsl(262, 88%, 44%) Ultramarine
#8bd20d rgb(139, 210, 13) hsl(82, 88%, 44%) Yellow Green
#d2540d rgb(210, 84, 13) hsl(22, 88%, 44%) Burnt Orange
#0dd254 rgb(13, 210, 84) hsl(142, 88%, 44%) Malachite