#2a135a ≈ Midnight Blue
#2a135a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 16.47% red, 7.45% green and 35.29% blue; printed in CMYK it uses 53.33% cyan, 78.89% magenta, 0% yellow and 64.71% black. Its hue angle is 259.44°, with 65.14% saturation and 21.37% 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 15.68:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.29.
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.017 |
Shades
#2a135a mixed progressively with black.
Tints
#2a135a mixed progressively with white.
Tones
#2a135a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a135a {
color: #2a135a;
}
.bg-2a135a {
background-color: #2a135a;
color: #ffffff;
}
.border-2a135a {
border: 2px solid #2a135a;
}
:root {
--color-primary: #2a135a;
--color-primary-rgb: 42 19 90;
--color-primary-hsl: 259 65% 21%;
}
.gradient-2a135a {
background: linear-gradient(135deg, #2a135a, #4d135a);
}
.shadow-2a135a {
box-shadow: 0 8px 24px rgb(42 19 90 / 0.35);
}
Midnight Blue
#2a135a rgb(42, 19, 90) hsl(259, 65%, 21%) Midnight Blue
#435a13 rgb(67, 90, 19) hsl(79, 65%, 21%) Army Green
#5a2a13 rgb(90, 42, 19) hsl(19, 65%, 21%) Caput Mortuum
#135a2a rgb(19, 90, 42) hsl(139, 65%, 21%) Hunter Green