#5102c8 ≈ Medium Blue
#5102c8 is a color from the violet family, with low lightness and vivid saturation. In the RGB model it is made of 31.76% red, 0.78% green and 78.43% blue; printed in CMYK it uses 59.5% cyan, 99% magenta, 0% yellow and 21.57% black. Its hue angle is 263.94°, with 98.02% saturation and 39.61% 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.58:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.97.
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.0596 |
Shades
#5102c8 mixed progressively with black.
Tints
#5102c8 mixed progressively with white.
Tones
#5102c8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5102c8 {
color: #5102c8;
}
.bg-5102c8 {
background-color: #5102c8;
color: #ffffff;
}
.border-5102c8 {
border: 2px solid #5102c8;
}
:root {
--color-primary: #5102c8;
--color-primary-rgb: 81 2 200;
--color-primary-hsl: 264 98% 40%;
}
.gradient-5102c8 {
background: linear-gradient(135deg, #5102c8, #b402c8);
}
.shadow-5102c8 {
box-shadow: 0 8px 24px rgb(81 2 200 / 0.35);
}
Medium Blue
#5102c8 rgb(81, 2, 200) hsl(264, 98%, 40%) Medium Blue
#79c802 rgb(121, 200, 2) hsl(84, 98%, 40%) Yellow Green
#c85102 rgb(200, 81, 2) hsl(24, 98%, 40%) Burnt Orange
#02c851 rgb(2, 200, 81) hsl(144, 98%, 40%) Lime Green