#2c1948 ≈ Midnight Blue
#2c1948 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 17.25% red, 9.8% green and 28.24% blue; printed in CMYK it uses 38.89% cyan, 65.28% magenta, 0% yellow and 71.76% black. Its hue angle is 264.26°, with 48.45% saturation and 19.02% 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.67:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.78.
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.017 |
Shades
#2c1948 mixed progressively with black.
Tints
#2c1948 mixed progressively with white.
Tones
#2c1948 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c1948 {
color: #2c1948;
}
.bg-2c1948 {
background-color: #2c1948;
color: #ffffff;
}
.border-2c1948 {
border: 2px solid #2c1948;
}
:root {
--color-primary: #2c1948;
--color-primary-rgb: 44 25 72;
--color-primary-hsl: 264 48% 19%;
}
.gradient-2c1948 {
background: linear-gradient(135deg, #2c1948, #441948);
}
.shadow-2c1948 {
box-shadow: 0 8px 24px rgb(44 25 72 / 0.35);
}
Midnight Blue
#2c1948 rgb(44, 25, 72) hsl(264, 48%, 19%) Midnight Blue
#354819 rgb(53, 72, 25) hsl(84, 48%, 19%) Army Green
#482c19 rgb(72, 44, 25) hsl(24, 48%, 19%) Bistre
#19482c rgb(25, 72, 44) hsl(144, 48%, 19%) British Racing Green