#310cc2 ≈ Medium Blue
#310cc2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 4.71% green and 76.08% blue; printed in CMYK it uses 74.74% cyan, 93.81% magenta, 0% yellow and 23.92% black. Its hue angle is 252.2°, with 88.35% saturation and 40.39% 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 10.7:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.13.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0481 |
Shades
#310cc2 mixed progressively with black.
Tints
#310cc2 mixed progressively with white.
Tones
#310cc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310cc2 {
color: #310cc2;
}
.bg-310cc2 {
background-color: #310cc2;
color: #ffffff;
}
.border-310cc2 {
border: 2px solid #310cc2;
}
:root {
--color-primary: #310cc2;
--color-primary-rgb: 49 12 194;
--color-primary-hsl: 252 88% 40%;
}
.gradient-310cc2 {
background: linear-gradient(135deg, #310cc2, #8c0cc2);
}
.shadow-310cc2 {
box-shadow: 0 8px 24px rgb(49 12 194 / 0.35);
}
Medium Blue
#310cc2 rgb(49, 12, 194) hsl(252, 88%, 40%) Medium Blue
#9dc20c rgb(157, 194, 12) hsl(72, 88%, 40%) Apple Green
#c2310c rgb(194, 49, 12) hsl(12, 88%, 40%) Rosso Corsa
#0cc231 rgb(12, 194, 49) hsl(132, 88%, 40%) Lime Green