#310dc6 ≈ Medium Blue
#310dc6 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 5.1% green and 77.65% blue; printed in CMYK it uses 75.25% cyan, 93.43% magenta, 0% yellow and 22.35% black. Its hue angle is 251.68°, with 87.68% saturation and 41.37% 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.48:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.11.
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.0502 |
Shades
#310dc6 mixed progressively with black.
Tints
#310dc6 mixed progressively with white.
Tones
#310dc6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310dc6 {
color: #310dc6;
}
.bg-310dc6 {
background-color: #310dc6;
color: #ffffff;
}
.border-310dc6 {
border: 2px solid #310dc6;
}
:root {
--color-primary: #310dc6;
--color-primary-rgb: 49 13 198;
--color-primary-hsl: 252 88% 41%;
}
.gradient-310dc6 {
background: linear-gradient(135deg, #310dc6, #8e0dc6);
}
.shadow-310dc6 {
box-shadow: 0 8px 24px rgb(49 13 198 / 0.35);
}
Medium Blue
#310dc6 rgb(49, 13, 198) hsl(252, 88%, 41%) Medium Blue
#a2c60d rgb(162, 198, 13) hsl(72, 88%, 41%) Yellow Green
#c6310d rgb(198, 49, 13) hsl(12, 88%, 41%) Rosso Corsa
#0dc631 rgb(13, 198, 49) hsl(132, 88%, 41%) Lime Green