#540cdf ≈ Ultramarine
#540cdf 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.71% green and 87.45% blue; printed in CMYK it uses 62.33% cyan, 94.62% magenta, 0% yellow and 12.55% black. Its hue angle is 260.47°, with 89.79% saturation and 46.08% 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.42:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.47.
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.0748 |
Shades
#540cdf mixed progressively with black.
Tints
#540cdf mixed progressively with white.
Tones
#540cdf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-540cdf {
color: #540cdf;
}
.bg-540cdf {
background-color: #540cdf;
color: #ffffff;
}
.border-540cdf {
border: 2px solid #540cdf;
}
:root {
--color-primary: #540cdf;
--color-primary-rgb: 84 12 223;
--color-primary-hsl: 260 90% 46%;
}
.gradient-540cdf {
background: linear-gradient(135deg, #540cdf, #bd0cdf);
}
.shadow-540cdf {
box-shadow: 0 8px 24px rgb(84 12 223 / 0.35);
}
Ultramarine
#540cdf rgb(84, 12, 223) hsl(260, 90%, 46%) Ultramarine
#97df0c rgb(151, 223, 12) hsl(80, 90%, 46%) Yellow Green
#df540c rgb(223, 84, 12) hsl(20, 90%, 46%) Flame
#0cdf54 rgb(12, 223, 84) hsl(140, 90%, 46%) Malachite