#271ecb ≈ Medium Blue
#271ecb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 15.29% red, 11.76% green and 79.61% blue; printed in CMYK it uses 80.79% cyan, 85.22% magenta, 0% yellow and 20.39% black. Its hue angle is 243.12°, with 74.25% saturation and 45.69% 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.84:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.27.
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.0567 |
Shades
#271ecb mixed progressively with black.
Tints
#271ecb mixed progressively with white.
Tones
#271ecb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-271ecb {
color: #271ecb;
}
.bg-271ecb {
background-color: #271ecb;
color: #ffffff;
}
.border-271ecb {
border: 2px solid #271ecb;
}
:root {
--color-primary: #271ecb;
--color-primary-rgb: 39 30 203;
--color-primary-hsl: 243 74% 46%;
}
.gradient-271ecb {
background: linear-gradient(135deg, #271ecb, #7e1ecb);
}
.shadow-271ecb {
box-shadow: 0 8px 24px rgb(39 30 203 / 0.35);
}
Medium Blue
#271ecb rgb(39, 30, 203) hsl(243, 74%, 46%) Medium Blue
#c2cb1e rgb(194, 203, 30) hsl(63, 74%, 46%) Pear
#cb271e rgb(203, 39, 30) hsl(3, 74%, 46%) Lava
#1ecb27 rgb(30, 203, 39) hsl(123, 74%, 46%) Lime Green