#271d60 ≈ Midnight Blue
#271d60 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 15.29% red, 11.37% green and 37.65% blue; printed in CMYK it uses 59.38% cyan, 69.79% magenta, 0% yellow and 62.35% black. Its hue angle is 248.96°, with 53.6% saturation and 24.51% 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 luxury branding. White text on this color reaches a contrast ratio of 14.68:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0215 |
Shades
#271d60 mixed progressively with black.
Tints
#271d60 mixed progressively with white.
Tones
#271d60 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-271d60 {
color: #271d60;
}
.bg-271d60 {
background-color: #271d60;
color: #ffffff;
}
.border-271d60 {
border: 2px solid #271d60;
}
:root {
--color-primary: #271d60;
--color-primary-rgb: 39 29 96;
--color-primary-hsl: 249 54% 25%;
}
.gradient-271d60 {
background: linear-gradient(135deg, #271d60, #491d60);
}
.shadow-271d60 {
box-shadow: 0 8px 24px rgb(39 29 96 / 0.35);
}
Midnight Blue
#271d60 rgb(39, 29, 96) hsl(249, 54%, 25%) Midnight Blue
#56601d rgb(86, 96, 29) hsl(69, 54%, 25%) Army Green
#60271d rgb(96, 39, 29) hsl(9, 54%, 25%) Caput Mortuum
#1d6027 rgb(29, 96, 39) hsl(129, 54%, 25%) Lincoln Green