#331fcd ≈ Medium Blue
#331fcd 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 80.39% blue; printed in CMYK it uses 75.12% cyan, 84.88% magenta, 0% yellow and 19.61% black. Its hue angle is 246.9°, with 73.73% saturation and 46.27% 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.47:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.92.
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.0609 |
Shades
#331fcd mixed progressively with black.
Tints
#331fcd mixed progressively with white.
Tones
#331fcd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fcd {
color: #331fcd;
}
.bg-331fcd {
background-color: #331fcd;
color: #ffffff;
}
.border-331fcd {
border: 2px solid #331fcd;
}
:root {
--color-primary: #331fcd;
--color-primary-rgb: 51 31 205;
--color-primary-hsl: 247 74% 46%;
}
.gradient-331fcd {
background: linear-gradient(135deg, #331fcd, #8a1fcd);
}
.shadow-331fcd {
box-shadow: 0 8px 24px rgb(51 31 205 / 0.35);
}
Medium Blue
#331fcd rgb(51, 31, 205) hsl(247, 74%, 46%) Medium Blue
#b9cd1f rgb(185, 205, 31) hsl(67, 74%, 46%) Pear
#cd331f rgb(205, 51, 31) hsl(7, 74%, 46%) Rosso Corsa
#1fcd33 rgb(31, 205, 51) hsl(127, 74%, 46%) Lime Green