#270a48 ≈ Midnight Blue
#270a48 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, 3.92% green and 28.24% blue; printed in CMYK it uses 45.83% cyan, 86.11% magenta, 0% yellow and 71.76% black. Its hue angle is 268.06°, with 75.61% saturation and 16.08% 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 17.17:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.74.
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.0112 |
Shades
#270a48 mixed progressively with black.
Tints
#270a48 mixed progressively with white.
Tones
#270a48 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-270a48 {
color: #270a48;
}
.bg-270a48 {
background-color: #270a48;
color: #ffffff;
}
.border-270a48 {
border: 2px solid #270a48;
}
:root {
--color-primary: #270a48;
--color-primary-rgb: 39 10 72;
--color-primary-hsl: 268 76% 16%;
}
.gradient-270a48 {
background: linear-gradient(135deg, #270a48, #460a48);
}
.shadow-270a48 {
box-shadow: 0 8px 24px rgb(39 10 72 / 0.35);
}
Midnight Blue
#270a48 rgb(39, 10, 72) hsl(268, 76%, 16%) Midnight Blue
#2b480a rgb(43, 72, 10) hsl(88, 76%, 16%) Lincoln Green
#48270a rgb(72, 39, 10) hsl(28, 76%, 16%) Bistre
#0a4827 rgb(10, 72, 39) hsl(148, 76%, 16%) British Racing Green