#2b104f ≈ Midnight Blue
#2b104f 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, 6.27% green and 30.98% blue; printed in CMYK it uses 45.57% cyan, 79.75% magenta, 0% yellow and 69.02% black. Its hue angle is 265.71°, with 66.32% saturation and 18.63% 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.28:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.64.
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.0145 |
Shades
#2b104f mixed progressively with black.
Tints
#2b104f mixed progressively with white.
Tones
#2b104f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2b104f {
color: #2b104f;
}
.bg-2b104f {
background-color: #2b104f;
color: #ffffff;
}
.border-2b104f {
border: 2px solid #2b104f;
}
:root {
--color-primary: #2b104f;
--color-primary-rgb: 43 16 79;
--color-primary-hsl: 266 66% 19%;
}
.gradient-2b104f {
background: linear-gradient(135deg, #2b104f, #4b104f);
}
.shadow-2b104f {
box-shadow: 0 8px 24px rgb(43 16 79 / 0.35);
}
Midnight Blue
#2b104f rgb(43, 16, 79) hsl(266, 66%, 19%) Midnight Blue
#344f10 rgb(52, 79, 16) hsl(86, 66%, 19%) Army Green
#4f2b10 rgb(79, 43, 16) hsl(26, 66%, 19%) Bistre
#104f2b rgb(16, 79, 43) hsl(146, 66%, 19%) British Racing Green