#331fd3 ≈ Medium Blue
#331fd3 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 12.16% green and 82.75% blue; printed in CMYK it uses 75.83% cyan, 85.31% magenta, 0% yellow and 17.25% black. Its hue angle is 246.67°, with 74.38% saturation and 47.45% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 9.22:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 4.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0639 |
Shades
#331fd3 mixed progressively with black.
Tints
#331fd3 mixed progressively with white.
Tones
#331fd3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fd3 {
color: #331fd3;
}
.bg-331fd3 {
background-color: #331fd3;
color: #ffffff;
}
.border-331fd3 {
border: 2px solid #331fd3;
}
:root {
--color-primary: #331fd3;
--color-primary-rgb: 51 31 211;
--color-primary-hsl: 247 74% 47%;
}
.gradient-331fd3 {
background: linear-gradient(135deg, #331fd3, #8d1fd3);
}
.shadow-331fd3 {
box-shadow: 0 8px 24px rgb(51 31 211 / 0.35);
}
Medium Blue
#331fd3 rgb(51, 31, 211) hsl(247, 74%, 47%) Medium Blue
#bfd31f rgb(191, 211, 31) hsl(67, 74%, 47%) Pear
#d3331f rgb(211, 51, 31) hsl(7, 74%, 47%) Lust
#1fd333 rgb(31, 211, 51) hsl(127, 74%, 47%) Lime Green