#270d49 ≈ Midnight Blue
#270d49 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 15.29% red, 5.1% green and 28.63% blue; printed in CMYK it uses 46.58% cyan, 82.19% magenta, 0% yellow and 71.37% black. Its hue angle is 266°, with 69.77% saturation and 16.86% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.93:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.44.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.012 |
Shades
#270d49 mixed progressively with black.
Tints
#270d49 mixed progressively with white.
Tones
#270d49 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-270d49 {
color: #270d49;
}
.bg-270d49 {
background-color: #270d49;
color: #ffffff;
}
.border-270d49 {
border: 2px solid #270d49;
}
:root {
--color-primary: #270d49;
--color-primary-rgb: 39 13 73;
--color-primary-hsl: 266 70% 17%;
}
.gradient-270d49 {
background: linear-gradient(135deg, #270d49, #450d49);
}
.shadow-270d49 {
box-shadow: 0 8px 24px rgb(39 13 73 / 0.35);
}
Midnight Blue
#270d49 rgb(39, 13, 73) hsl(266, 70%, 17%) Midnight Blue
#2f490d rgb(47, 73, 13) hsl(86, 70%, 17%) Army Green
#49270d rgb(73, 39, 13) hsl(26, 70%, 17%) Bistre
#0d4927 rgb(13, 73, 39) hsl(146, 70%, 17%) British Racing Green