#310ed4 ≈ Medium Blue
#310ed4 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 5.49% green and 83.14% blue; printed in CMYK it uses 76.89% cyan, 93.4% magenta, 0% yellow and 16.86% black. Its hue angle is 250.61°, with 87.61% saturation and 44.31% 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.79:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.86.
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.0572 |
Shades
#310ed4 mixed progressively with black.
Tints
#310ed4 mixed progressively with white.
Tones
#310ed4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310ed4 {
color: #310ed4;
}
.bg-310ed4 {
background-color: #310ed4;
color: #ffffff;
}
.border-310ed4 {
border: 2px solid #310ed4;
}
:root {
--color-primary: #310ed4;
--color-primary-rgb: 49 14 212;
--color-primary-hsl: 251 88% 44%;
}
.gradient-310ed4 {
background: linear-gradient(135deg, #310ed4, #940ed4);
}
.shadow-310ed4 {
box-shadow: 0 8px 24px rgb(49 14 212 / 0.35);
}
Medium Blue
#310ed4 rgb(49, 14, 212) hsl(251, 88%, 44%) Medium Blue
#b1d40e rgb(177, 212, 14) hsl(71, 88%, 44%) June Bud
#d4310e rgb(212, 49, 14) hsl(11, 88%, 44%) Sinopia
#0ed431 rgb(14, 212, 49) hsl(131, 88%, 44%) Lime Green