#2b1a68 ≈ Midnight Blue
#2b1a68 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 16.86% red, 10.2% green and 40.78% blue; printed in CMYK it uses 58.65% cyan, 75% magenta, 0% yellow and 59.22% black. Its hue angle is 253.08°, with 60% saturation and 25.49% 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 14.48:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.08.
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.0225 |
Shades
#2b1a68 mixed progressively with black.
Tints
#2b1a68 mixed progressively with white.
Tones
#2b1a68 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2b1a68 {
color: #2b1a68;
}
.bg-2b1a68 {
background-color: #2b1a68;
color: #ffffff;
}
.border-2b1a68 {
border: 2px solid #2b1a68;
}
:root {
--color-primary: #2b1a68;
--color-primary-rgb: 43 26 104;
--color-primary-hsl: 253 60% 25%;
}
.gradient-2b1a68 {
background: linear-gradient(135deg, #2b1a68, #521a68);
}
.shadow-2b1a68 {
box-shadow: 0 8px 24px rgb(43 26 104 / 0.35);
}
Midnight Blue
#2b1a68 rgb(43, 26, 104) hsl(253, 60%, 25%) Midnight Blue
#57681a rgb(87, 104, 26) hsl(73, 60%, 25%) Dark Olive Green
#682b1a rgb(104, 43, 26) hsl(13, 60%, 25%) Caput Mortuum
#1a682b rgb(26, 104, 43) hsl(133, 60%, 25%) Cadmium Green