#272c71 ≈ Midnight Blue
#272c71 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 15.29% red, 17.25% green and 44.31% blue; printed in CMYK it uses 65.49% cyan, 61.06% magenta, 0% yellow and 55.69% black. Its hue angle is 235.95°, with 48.68% saturation and 29.8% 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 12.46:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.65.
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.0342 |
Shades
#272c71 mixed progressively with black.
Tints
#272c71 mixed progressively with white.
Tones
#272c71 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-272c71 {
color: #272c71;
}
.bg-272c71 {
background-color: #272c71;
color: #ffffff;
}
.border-272c71 {
border: 2px solid #272c71;
}
:root {
--color-primary: #272c71;
--color-primary-rgb: 39 44 113;
--color-primary-hsl: 236 49% 30%;
}
.gradient-272c71 {
background: linear-gradient(135deg, #272c71, #472771);
}
.shadow-272c71 {
box-shadow: 0 8px 24px rgb(39 44 113 / 0.35);
}
Midnight Blue
#272c71 rgb(39, 44, 113) hsl(236, 49%, 30%) Midnight Blue
#716c27 rgb(113, 108, 39) hsl(56, 49%, 30%) Dark Olive Green
#71272c rgb(113, 39, 44) hsl(356, 49%, 30%) Wine
#2c7127 rgb(44, 113, 39) hsl(116, 49%, 30%) Pakistan Green