#2d1e53 ≈ Midnight Blue
#2d1e53 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.65% red, 11.76% green and 32.55% blue; printed in CMYK it uses 45.78% cyan, 63.86% magenta, 0% yellow and 67.45% black. Its hue angle is 256.98°, with 46.9% saturation and 22.16% 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.77:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.67.
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.0211 |
Shades
#2d1e53 mixed progressively with black.
Tints
#2d1e53 mixed progressively with white.
Tones
#2d1e53 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d1e53 {
color: #2d1e53;
}
.bg-2d1e53 {
background-color: #2d1e53;
color: #ffffff;
}
.border-2d1e53 {
border: 2px solid #2d1e53;
}
:root {
--color-primary: #2d1e53;
--color-primary-rgb: 45 30 83;
--color-primary-hsl: 257 47% 22%;
}
.gradient-2d1e53 {
background: linear-gradient(135deg, #2d1e53, #481e53);
}
.shadow-2d1e53 {
box-shadow: 0 8px 24px rgb(45 30 83 / 0.35);
}
Midnight Blue
#2d1e53 rgb(45, 30, 83) hsl(257, 47%, 22%) Midnight Blue
#44531e rgb(68, 83, 30) hsl(77, 47%, 22%) Army Green
#532d1e rgb(83, 45, 30) hsl(17, 47%, 22%) Caput Mortuum
#1e532d rgb(30, 83, 45) hsl(137, 47%, 22%) Hunter Green