#331dcb ≈ Medium Blue
#331dcb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 11.37% green and 79.61% blue; printed in CMYK it uses 74.88% cyan, 85.71% magenta, 0% yellow and 20.39% black. Its hue angle is 247.59°, with 75% saturation and 45.49% 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.64:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.59.
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.0589 |
Shades
#331dcb mixed progressively with black.
Tints
#331dcb mixed progressively with white.
Tones
#331dcb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331dcb {
color: #331dcb;
}
.bg-331dcb {
background-color: #331dcb;
color: #ffffff;
}
.border-331dcb {
border: 2px solid #331dcb;
}
:root {
--color-primary: #331dcb;
--color-primary-rgb: 51 29 203;
--color-primary-hsl: 248 75% 45%;
}
.gradient-331dcb {
background: linear-gradient(135deg, #331dcb, #8a1dcb);
}
.shadow-331dcb {
box-shadow: 0 8px 24px rgb(51 29 203 / 0.35);
}
Medium Blue
#331dcb rgb(51, 29, 203) hsl(248, 75%, 45%) Medium Blue
#b5cb1d rgb(181, 203, 29) hsl(68, 75%, 45%) June Bud
#cb331d rgb(203, 51, 29) hsl(8, 75%, 45%) Rosso Corsa
#1dcb33 rgb(29, 203, 51) hsl(128, 75%, 45%) Lime Green