#2a134f ≈ Midnight Blue
#2a134f is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 16.47% red, 7.45% green and 30.98% blue; printed in CMYK it uses 46.84% cyan, 75.95% magenta, 0% yellow and 69.02% black. Its hue angle is 263°, with 61.22% saturation and 19.22% 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.1:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.46.
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.0152 |
Shades
#2a134f mixed progressively with black.
Tints
#2a134f mixed progressively with white.
Tones
#2a134f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a134f {
color: #2a134f;
}
.bg-2a134f {
background-color: #2a134f;
color: #ffffff;
}
.border-2a134f {
border: 2px solid #2a134f;
}
:root {
--color-primary: #2a134f;
--color-primary-rgb: 42 19 79;
--color-primary-hsl: 263 61% 19%;
}
.gradient-2a134f {
background: linear-gradient(135deg, #2a134f, #48134f);
}
.shadow-2a134f {
box-shadow: 0 8px 24px rgb(42 19 79 / 0.35);
}
Midnight Blue
#2a134f rgb(42, 19, 79) hsl(263, 61%, 19%) Midnight Blue
#384f13 rgb(56, 79, 19) hsl(83, 61%, 19%) Army Green
#4f2a13 rgb(79, 42, 19) hsl(23, 61%, 19%) Bistre
#134f2a rgb(19, 79, 42) hsl(143, 61%, 19%) British Racing Green