#2a256c ≈ Midnight Blue
#2a256c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.47% red, 14.51% green and 42.35% blue; printed in CMYK it uses 61.11% cyan, 65.74% magenta, 0% yellow and 57.65% black. Its hue angle is 244.23°, with 48.97% saturation and 28.43% 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.29:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.02.
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.029 |
Shades
#2a256c mixed progressively with black.
Tints
#2a256c mixed progressively with white.
Tones
#2a256c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a256c {
color: #2a256c;
}
.bg-2a256c {
background-color: #2a256c;
color: #ffffff;
}
.border-2a256c {
border: 2px solid #2a256c;
}
:root {
--color-primary: #2a256c;
--color-primary-rgb: 42 37 108;
--color-primary-hsl: 244 49% 28%;
}
.gradient-2a256c {
background: linear-gradient(135deg, #2a256c, #4e256c);
}
.shadow-2a256c {
box-shadow: 0 8px 24px rgb(42 37 108 / 0.35);
}
Midnight Blue
#2a256c rgb(42, 37, 108) hsl(244, 49%, 28%) Midnight Blue
#676c25 rgb(103, 108, 37) hsl(64, 49%, 28%) Dark Olive Green
#6c2a25 rgb(108, 42, 37) hsl(4, 49%, 28%) Caput Mortuum
#256c2a rgb(37, 108, 42) hsl(124, 49%, 28%) Pakistan Green