#2b183f ≈ Midnight Blue
#2b183f is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 16.86% red, 9.41% green and 24.71% blue; printed in CMYK it uses 31.75% cyan, 61.9% magenta, 0% yellow and 75.29% black. Its hue angle is 269.23°, with 44.83% saturation and 17.06% 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.09:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.1.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0153 |
Shades
#2b183f mixed progressively with black.
Tints
#2b183f mixed progressively with white.
Tones
#2b183f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2b183f {
color: #2b183f;
}
.bg-2b183f {
background-color: #2b183f;
color: #ffffff;
}
.border-2b183f {
border: 2px solid #2b183f;
}
:root {
--color-primary: #2b183f;
--color-primary-rgb: 43 24 63;
--color-primary-hsl: 269 45% 17%;
}
.gradient-2b183f {
background: linear-gradient(135deg, #2b183f, #3f183f);
}
.shadow-2b183f {
box-shadow: 0 8px 24px rgb(43 24 63 / 0.35);
}
Midnight Blue
#2b183f rgb(43, 24, 63) hsl(269, 45%, 17%) Midnight Blue
#2c3f18 rgb(44, 63, 24) hsl(89, 45%, 17%) Army Green
#3f2b18 rgb(63, 43, 24) hsl(29, 45%, 17%) Bistre
#183f2b rgb(24, 63, 43) hsl(149, 45%, 17%) Phthalo Green