#540bdf ≈ Ultramarine
#540bdf is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.94% red, 4.31% green and 87.45% blue; printed in CMYK it uses 62.33% cyan, 95.07% magenta, 0% yellow and 12.55% black. Its hue angle is 260.66°, with 90.6% saturation and 45.88% 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.43:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.48.
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.0745 |
Shades
#540bdf mixed progressively with black.
Tints
#540bdf mixed progressively with white.
Tones
#540bdf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540bdf {
color: #540bdf;
}
.bg-540bdf {
background-color: #540bdf;
color: #ffffff;
}
.border-540bdf {
border: 2px solid #540bdf;
}
:root {
--color-primary: #540bdf;
--color-primary-rgb: 84 11 223;
--color-primary-hsl: 261 91% 46%;
}
.gradient-540bdf {
background: linear-gradient(135deg, #540bdf, #be0bdf);
}
.shadow-540bdf {
box-shadow: 0 8px 24px rgb(84 11 223 / 0.35);
}
Ultramarine
#540bdf rgb(84, 11, 223) hsl(261, 91%, 46%) Ultramarine
#96df0b rgb(150, 223, 11) hsl(81, 91%, 46%) Yellow Green
#df540b rgb(223, 84, 11) hsl(21, 91%, 46%) Flame
#0bdf54 rgb(11, 223, 84) hsl(141, 91%, 46%) Malachite