#2a2b68 ≈ Midnight Blue
#2a2b68 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 16.47% red, 16.86% green and 40.78% blue; printed in CMYK it uses 59.62% cyan, 58.65% magenta, 0% yellow and 59.22% black. Its hue angle is 239.03°, with 42.47% saturation and 28.63% 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 12.77:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.24.
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.0322 |
Shades
#2a2b68 mixed progressively with black.
Tints
#2a2b68 mixed progressively with white.
Tones
#2a2b68 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a2b68 {
color: #2a2b68;
}
.bg-2a2b68 {
background-color: #2a2b68;
color: #ffffff;
}
.border-2a2b68 {
border: 2px solid #2a2b68;
}
:root {
--color-primary: #2a2b68;
--color-primary-rgb: 42 43 104;
--color-primary-hsl: 239 42% 29%;
}
.gradient-2a2b68 {
background: linear-gradient(135deg, #2a2b68, #482a68);
}
.shadow-2a2b68 {
box-shadow: 0 8px 24px rgb(42 43 104 / 0.35);
}
Midnight Blue
#2a2b68 rgb(42, 43, 104) hsl(239, 42%, 29%) Midnight Blue
#68672a rgb(104, 103, 42) hsl(59, 42%, 29%) Dark Olive Green
#682a2b rgb(104, 42, 43) hsl(359, 42%, 29%) Wine
#2b682a rgb(43, 104, 42) hsl(119, 42%, 29%) Pakistan Green