#331fbf ≈ Medium Blue
#331fbf 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 74.9% blue; printed in CMYK it uses 73.3% cyan, 83.77% magenta, 0% yellow and 25.1% black. Its hue angle is 247.5°, with 72.07% saturation and 43.53% 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.05:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.69.
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.0545 |
Shades
#331fbf mixed progressively with black.
Tints
#331fbf mixed progressively with white.
Tones
#331fbf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331fbf {
color: #331fbf;
}
.bg-331fbf {
background-color: #331fbf;
color: #ffffff;
}
.border-331fbf {
border: 2px solid #331fbf;
}
:root {
--color-primary: #331fbf;
--color-primary-rgb: 51 31 191;
--color-primary-hsl: 248 72% 44%;
}
.gradient-331fbf {
background: linear-gradient(135deg, #331fbf, #831fbf);
}
.shadow-331fbf {
box-shadow: 0 8px 24px rgb(51 31 191 / 0.35);
}
Medium Blue
#331fbf rgb(51, 31, 191) hsl(248, 72%, 44%) Medium Blue
#abbf1f rgb(171, 191, 31) hsl(68, 72%, 44%) Apple Green
#bf331f rgb(191, 51, 31) hsl(8, 72%, 44%) Venetian Red
#1fbf33 rgb(31, 191, 51) hsl(128, 72%, 44%) Lime Green