#2d2277 ≈ Midnight Blue
#2d2277 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 17.65% red, 13.33% green and 46.67% blue; printed in CMYK it uses 62.18% cyan, 71.43% magenta, 0% yellow and 53.33% black. Its hue angle is 247.76°, with 55.56% saturation and 30% 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 corporate identities. White text on this color reaches a contrast ratio of 13.07:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.14.
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.0303 |
Shades
#2d2277 mixed progressively with black.
Tints
#2d2277 mixed progressively with white.
Tones
#2d2277 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d2277 {
color: #2d2277;
}
.bg-2d2277 {
background-color: #2d2277;
color: #ffffff;
}
.border-2d2277 {
border: 2px solid #2d2277;
}
:root {
--color-primary: #2d2277;
--color-primary-rgb: 45 34 119;
--color-primary-hsl: 248 56% 30%;
}
.gradient-2d2277 {
background: linear-gradient(135deg, #2d2277, #572277);
}
.shadow-2d2277 {
box-shadow: 0 8px 24px rgb(45 34 119 / 0.35);
}
Midnight Blue
#2d2277 rgb(45, 34, 119) hsl(248, 56%, 30%) Midnight Blue
#6c7722 rgb(108, 119, 34) hsl(68, 56%, 30%) Olive
#772d22 rgb(119, 45, 34) hsl(8, 56%, 30%) Burnt Umber
#22772d rgb(34, 119, 45) hsl(128, 56%, 30%) Green