#2b277a ≈ Midnight Blue
#2b277a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.86% red, 15.29% green and 47.84% blue; printed in CMYK it uses 64.75% cyan, 68.03% magenta, 0% yellow and 52.16% black. Its hue angle is 242.89°, with 51.55% saturation and 31.57% 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 12.55:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.99.
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.0337 |
Shades
#2b277a mixed progressively with black.
Tints
#2b277a mixed progressively with white.
Tones
#2b277a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2b277a {
color: #2b277a;
}
.bg-2b277a {
background-color: #2b277a;
color: #ffffff;
}
.border-2b277a {
border: 2px solid #2b277a;
}
:root {
--color-primary: #2b277a;
--color-primary-rgb: 43 39 122;
--color-primary-hsl: 243 52% 32%;
}
.gradient-2b277a {
background: linear-gradient(135deg, #2b277a, #55277a);
}
.shadow-2b277a {
box-shadow: 0 8px 24px rgb(43 39 122 / 0.35);
}
Midnight Blue
#2b277a rgb(43, 39, 122) hsl(243, 52%, 32%) Midnight Blue
#767a27 rgb(118, 122, 39) hsl(63, 52%, 32%) Olive
#7a2b27 rgb(122, 43, 39) hsl(3, 52%, 32%) Falu Red
#277a2b rgb(39, 122, 43) hsl(123, 52%, 32%) Green