#5f0cbb ≈ Medium Blue
#5f0cbb is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 37.25% red, 4.71% green and 73.33% blue; printed in CMYK it uses 49.2% cyan, 93.58% magenta, 0% yellow and 26.67% black. Its hue angle is 268.46°, with 87.94% saturation and 39.02% 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 9.31:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 7.15.
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.0628 |
Shades
#5f0cbb mixed progressively with black.
Tints
#5f0cbb mixed progressively with white.
Tones
#5f0cbb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f0cbb {
color: #5f0cbb;
}
.bg-5f0cbb {
background-color: #5f0cbb;
color: #ffffff;
}
.border-5f0cbb {
border: 2px solid #5f0cbb;
}
:root {
--color-primary: #5f0cbb;
--color-primary-rgb: 95 12 187;
--color-primary-hsl: 268 88% 39%;
}
.gradient-5f0cbb {
background: linear-gradient(135deg, #5f0cbb, #b70cbb);
}
.shadow-5f0cbb {
box-shadow: 0 8px 24px rgb(95 12 187 / 0.35);
}
Medium Blue
#5f0cbb rgb(95, 12, 187) hsl(268, 88%, 39%) Medium Blue
#68bb0c rgb(104, 187, 12) hsl(88, 88%, 39%) Kelly Green
#bb5f0c rgb(187, 95, 12) hsl(28, 88%, 39%) Burnt Orange
#0cbb5f rgb(12, 187, 95) hsl(148, 88%, 39%) Medium Sea Green