#540bdd ≈ Ultramarine
#540bdd 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 86.67% blue; printed in CMYK it uses 61.99% cyan, 95.02% magenta, 0% yellow and 13.33% black. Its hue angle is 260.86°, with 90.52% saturation and 45.49% 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.51:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.7.
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.0734 |
Shades
#540bdd mixed progressively with black.
Tints
#540bdd mixed progressively with white.
Tones
#540bdd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540bdd {
color: #540bdd;
}
.bg-540bdd {
background-color: #540bdd;
color: #ffffff;
}
.border-540bdd {
border: 2px solid #540bdd;
}
:root {
--color-primary: #540bdd;
--color-primary-rgb: 84 11 221;
--color-primary-hsl: 261 91% 45%;
}
.gradient-540bdd {
background: linear-gradient(135deg, #540bdd, #bd0bdd);
}
.shadow-540bdd {
box-shadow: 0 8px 24px rgb(84 11 221 / 0.35);
}
Ultramarine
#540bdd rgb(84, 11, 221) hsl(261, 91%, 45%) Ultramarine
#94dd0b rgb(148, 221, 11) hsl(81, 91%, 45%) Yellow Green
#dd540b rgb(221, 84, 11) hsl(21, 91%, 45%) Flame
#0bdd54 rgb(11, 221, 84) hsl(141, 91%, 45%) Malachite