#031fcb ≈ Medium Blue
#031fcb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 12.16% green and 79.61% blue; printed in CMYK it uses 98.52% cyan, 84.73% magenta, 0% yellow and 20.39% black. Its hue angle is 231.6°, with 97.09% saturation and 40.39% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.18:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.14.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0531 |
Shades
#031fcb mixed progressively with black.
Tints
#031fcb mixed progressively with white.
Tones
#031fcb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-031fcb {
color: #031fcb;
}
.bg-031fcb {
background-color: #031fcb;
color: #ffffff;
}
.border-031fcb {
border: 2px solid #031fcb;
}
:root {
--color-primary: #031fcb;
--color-primary-rgb: 3 31 203;
--color-primary-hsl: 232 97% 40%;
}
.gradient-031fcb {
background: linear-gradient(135deg, #031fcb, #4b03cb);
}
.shadow-031fcb {
box-shadow: 0 8px 24px rgb(3 31 203 / 0.35);
}
Medium Blue
#031fcb rgb(3, 31, 203) hsl(232, 97%, 40%) Medium Blue
#cbaf03 rgb(203, 175, 3) hsl(52, 97%, 40%) Old Gold
#cb031f rgb(203, 3, 31) hsl(352, 97%, 40%) Lava
#1fcb03 rgb(31, 203, 3) hsl(112, 97%, 40%) Lime Green