#2c124d ≈ Midnight Blue
#2c124d 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, 7.06% green and 30.2% blue; printed in CMYK it uses 42.86% cyan, 76.62% magenta, 0% yellow and 69.8% black. Its hue angle is 266.44°, with 62.11% saturation and 18.63% 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 16.14:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.19.
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.015 |
Shades
#2c124d mixed progressively with black.
Tints
#2c124d mixed progressively with white.
Tones
#2c124d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2c124d {
color: #2c124d;
}
.bg-2c124d {
background-color: #2c124d;
color: #ffffff;
}
.border-2c124d {
border: 2px solid #2c124d;
}
:root {
--color-primary: #2c124d;
--color-primary-rgb: 44 18 77;
--color-primary-hsl: 266 62% 19%;
}
.gradient-2c124d {
background: linear-gradient(135deg, #2c124d, #4a124d);
}
.shadow-2c124d {
box-shadow: 0 8px 24px rgb(44 18 77 / 0.35);
}
Midnight Blue
#2c124d rgb(44, 18, 77) hsl(266, 62%, 19%) Midnight Blue
#334d12 rgb(51, 77, 18) hsl(86, 62%, 19%) Army Green
#4d2c12 rgb(77, 44, 18) hsl(26, 62%, 19%) Bistre
#124d2c rgb(18, 77, 44) hsl(146, 62%, 19%) British Racing Green