#301552 ≈ Midnight Blue
#301552 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 18.82% red, 8.24% green and 32.16% blue; printed in CMYK it uses 41.46% cyan, 74.39% magenta, 0% yellow and 67.84% black. Its hue angle is 266.56°, with 59.22% saturation and 20.2% 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 15.5:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.75.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0177 |
Shades
#301552 mixed progressively with black.
Tints
#301552 mixed progressively with white.
Tones
#301552 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-301552 {
color: #301552;
}
.bg-301552 {
background-color: #301552;
color: #ffffff;
}
.border-301552 {
border: 2px solid #301552;
}
:root {
--color-primary: #301552;
--color-primary-rgb: 48 21 82;
--color-primary-hsl: 267 59% 20%;
}
.gradient-301552 {
background: linear-gradient(135deg, #301552, #4f1552);
}
.shadow-301552 {
box-shadow: 0 8px 24px rgb(48 21 82 / 0.35);
}
Midnight Blue
#301552 rgb(48, 21, 82) hsl(267, 59%, 20%) Midnight Blue
#375215 rgb(55, 82, 21) hsl(87, 59%, 20%) Army Green
#523015 rgb(82, 48, 21) hsl(27, 59%, 20%) Bistre
#155230 rgb(21, 82, 48) hsl(147, 59%, 20%) British Racing Green