#2d0c3c ≈ Midnight Blue
#2d0c3c is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 17.65% red, 4.71% green and 23.53% blue; printed in CMYK it uses 25% cyan, 80% magenta, 0% yellow and 76.47% black. Its hue angle is 281.25°, with 66.67% saturation and 14.12% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 17.08:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.44.
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.0115 |
Shades
#2d0c3c mixed progressively with black.
Tints
#2d0c3c mixed progressively with white.
Tones
#2d0c3c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d0c3c {
color: #2d0c3c;
}
.bg-2d0c3c {
background-color: #2d0c3c;
color: #ffffff;
}
.border-2d0c3c {
border: 2px solid #2d0c3c;
}
:root {
--color-primary: #2d0c3c;
--color-primary-rgb: 45 12 60;
--color-primary-hsl: 281 67% 14%;
}
.gradient-2d0c3c {
background: linear-gradient(135deg, #2d0c3c, #3c0c33);
}
.shadow-2d0c3c {
box-shadow: 0 8px 24px rgb(45 12 60 / 0.35);
}
Midnight Blue
#2d0c3c rgb(45, 12, 60) hsl(281, 67%, 14%) Midnight Blue
#1b3c0c rgb(27, 60, 12) hsl(101, 67%, 14%) British Racing Green
#3c2d0c rgb(60, 45, 12) hsl(41, 67%, 14%) Bistre
#0c3c2d rgb(12, 60, 45) hsl(161, 67%, 14%) Phthalo Green