#2a1c74 ≈ Midnight Blue
#2a1c74 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.47% red, 10.98% green and 45.49% blue; printed in CMYK it uses 63.79% cyan, 75.86% magenta, 0% yellow and 54.51% black. Its hue angle is 249.55°, with 61.11% saturation and 28.24% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 13.85:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.23.
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.0258 |
Shades
#2a1c74 mixed progressively with black.
Tints
#2a1c74 mixed progressively with white.
Tones
#2a1c74 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a1c74 {
color: #2a1c74;
}
.bg-2a1c74 {
background-color: #2a1c74;
color: #ffffff;
}
.border-2a1c74 {
border: 2px solid #2a1c74;
}
:root {
--color-primary: #2a1c74;
--color-primary-rgb: 42 28 116;
--color-primary-hsl: 250 61% 28%;
}
.gradient-2a1c74 {
background: linear-gradient(135deg, #2a1c74, #561c74);
}
.shadow-2a1c74 {
box-shadow: 0 8px 24px rgb(42 28 116 / 0.35);
}
Midnight Blue
#2a1c74 rgb(42, 28, 116) hsl(250, 61%, 28%) Midnight Blue
#66741c rgb(102, 116, 28) hsl(70, 61%, 28%) Dark Olive Green
#742a1c rgb(116, 42, 28) hsl(10, 61%, 28%) Falu Red
#1c742a rgb(28, 116, 42) hsl(130, 61%, 28%) Pakistan Green