#331fbb ≈ Medium Blue
#331fbb 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 73.33% blue; printed in CMYK it uses 72.73% cyan, 83.42% magenta, 0% yellow and 26.67% black. Its hue angle is 247.69°, with 71.56% saturation and 42.75% 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 10.22:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.8.
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.0527 |
Shades
#331fbb mixed progressively with black.
Tints
#331fbb mixed progressively with white.
Tones
#331fbb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fbb {
color: #331fbb;
}
.bg-331fbb {
background-color: #331fbb;
color: #ffffff;
}
.border-331fbb {
border: 2px solid #331fbb;
}
:root {
--color-primary: #331fbb;
--color-primary-rgb: 51 31 187;
--color-primary-hsl: 248 72% 43%;
}
.gradient-331fbb {
background: linear-gradient(135deg, #331fbb, #811fbb);
}
.shadow-331fbb {
box-shadow: 0 8px 24px rgb(51 31 187 / 0.35);
}
Medium Blue
#331fbb rgb(51, 31, 187) hsl(248, 72%, 43%) Medium Blue
#a7bb1f rgb(167, 187, 31) hsl(68, 72%, 43%) Apple Green
#bb331f rgb(187, 51, 31) hsl(8, 72%, 43%) Venetian Red
#1fbb33 rgb(31, 187, 51) hsl(128, 72%, 43%) Kelly Green