#2f1453 ≈ Midnight Blue
#2f1453 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 18.43% red, 7.84% green and 32.55% blue; printed in CMYK it uses 43.37% cyan, 75.9% magenta, 0% yellow and 67.45% black. Its hue angle is 265.71°, with 61.17% 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.6:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.37.
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.0173 |
Shades
#2f1453 mixed progressively with black.
Tints
#2f1453 mixed progressively with white.
Tones
#2f1453 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f1453 {
color: #2f1453;
}
.bg-2f1453 {
background-color: #2f1453;
color: #ffffff;
}
.border-2f1453 {
border: 2px solid #2f1453;
}
:root {
--color-primary: #2f1453;
--color-primary-rgb: 47 20 83;
--color-primary-hsl: 266 61% 20%;
}
.gradient-2f1453 {
background: linear-gradient(135deg, #2f1453, #4f1453);
}
.shadow-2f1453 {
box-shadow: 0 8px 24px rgb(47 20 83 / 0.35);
}
Midnight Blue
#2f1453 rgb(47, 20, 83) hsl(266, 61%, 20%) Midnight Blue
#385314 rgb(56, 83, 20) hsl(86, 61%, 20%) Army Green
#532f14 rgb(83, 47, 20) hsl(26, 61%, 20%) Bistre
#14532f rgb(20, 83, 47) hsl(146, 61%, 20%) Hunter Green