#271cb8 ≈ Medium Blue
#271cb8 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 15.29% red, 10.98% green and 72.16% blue; printed in CMYK it uses 78.8% cyan, 84.78% magenta, 0% yellow and 27.84% black. Its hue angle is 244.23°, with 73.58% saturation and 41.57% 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.8:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.3.
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.0472 |
Shades
#271cb8 mixed progressively with black.
Tints
#271cb8 mixed progressively with white.
Tones
#271cb8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-271cb8 {
color: #271cb8;
}
.bg-271cb8 {
background-color: #271cb8;
color: #ffffff;
}
.border-271cb8 {
border: 2px solid #271cb8;
}
:root {
--color-primary: #271cb8;
--color-primary-rgb: 39 28 184;
--color-primary-hsl: 244 74% 42%;
}
.gradient-271cb8 {
background: linear-gradient(135deg, #271cb8, #751cb8);
}
.shadow-271cb8 {
box-shadow: 0 8px 24px rgb(39 28 184 / 0.35);
}
Medium Blue
#271cb8 rgb(39, 28, 184) hsl(244, 74%, 42%) Medium Blue
#adb81c rgb(173, 184, 28) hsl(64, 74%, 42%) Apple Green
#b8271c rgb(184, 39, 28) hsl(4, 74%, 42%) Cornell Red
#1cb827 rgb(28, 184, 39) hsl(124, 74%, 42%) Kelly Green