#271fcc ≈ Medium Blue
#271fcc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 15.29% red, 12.16% green and 80% blue; printed in CMYK it uses 80.88% cyan, 84.8% magenta, 0% yellow and 20% black. Its hue angle is 242.77°, with 73.62% saturation and 46.08% 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.75:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.45.
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.0577 |
Shades
#271fcc mixed progressively with black.
Tints
#271fcc mixed progressively with white.
Tones
#271fcc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-271fcc {
color: #271fcc;
}
.bg-271fcc {
background-color: #271fcc;
color: #ffffff;
}
.border-271fcc {
border: 2px solid #271fcc;
}
:root {
--color-primary: #271fcc;
--color-primary-rgb: 39 31 204;
--color-primary-hsl: 243 74% 46%;
}
.gradient-271fcc {
background: linear-gradient(135deg, #271fcc, #7d1fcc);
}
.shadow-271fcc {
box-shadow: 0 8px 24px rgb(39 31 204 / 0.35);
}
Medium Blue
#271fcc rgb(39, 31, 204) hsl(243, 74%, 46%) Medium Blue
#c4cc1f rgb(196, 204, 31) hsl(63, 74%, 46%) Pear
#cc271f rgb(204, 39, 31) hsl(3, 74%, 46%) Lava
#1fcc27 rgb(31, 204, 39) hsl(123, 74%, 46%) Lime Green