#301d59 ≈ Midnight Blue
#301d59 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 18.82% red, 11.37% green and 34.9% blue; printed in CMYK it uses 46.07% cyan, 67.42% magenta, 0% yellow and 65.1% black. Its hue angle is 259°, with 50.85% saturation and 23.14% 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 14.53:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.61.
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.0223 |
Shades
#301d59 mixed progressively with black.
Tints
#301d59 mixed progressively with white.
Tones
#301d59 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-301d59 {
color: #301d59;
}
.bg-301d59 {
background-color: #301d59;
color: #ffffff;
}
.border-301d59 {
border: 2px solid #301d59;
}
:root {
--color-primary: #301d59;
--color-primary-rgb: 48 29 89;
--color-primary-hsl: 259 51% 23%;
}
.gradient-301d59 {
background: linear-gradient(135deg, #301d59, #4e1d59);
}
.shadow-301d59 {
box-shadow: 0 8px 24px rgb(48 29 89 / 0.35);
}
Midnight Blue
#301d59 rgb(48, 29, 89) hsl(259, 51%, 23%) Midnight Blue
#46591d rgb(70, 89, 29) hsl(79, 51%, 23%) Army Green
#59301d rgb(89, 48, 29) hsl(19, 51%, 23%) Caput Mortuum
#1d5930 rgb(29, 89, 48) hsl(139, 51%, 23%) Hunter Green