#1b0748 ≈ Midnight Blue
#1b0748 is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 10.59% red, 2.75% green and 28.24% blue; printed in CMYK it uses 62.5% cyan, 90.28% magenta, 0% yellow and 71.76% black. Its hue angle is 258.46°, with 82.28% saturation and 15.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 17.94:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.8.
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.0085 |
Shades
#1b0748 mixed progressively with black.
Tints
#1b0748 mixed progressively with white.
Tones
#1b0748 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1b0748 {
color: #1b0748;
}
.bg-1b0748 {
background-color: #1b0748;
color: #ffffff;
}
.border-1b0748 {
border: 2px solid #1b0748;
}
:root {
--color-primary: #1b0748;
--color-primary-rgb: 27 7 72;
--color-primary-hsl: 258 82% 15%;
}
.gradient-1b0748 {
background: linear-gradient(135deg, #1b0748, #3b0748);
}
.shadow-1b0748 {
box-shadow: 0 8px 24px rgb(27 7 72 / 0.35);
}
Midnight Blue
#1b0748 rgb(27, 7, 72) hsl(258, 82%, 15%) Midnight Blue
#344807 rgb(52, 72, 7) hsl(78, 82%, 15%) Army Green
#481b07 rgb(72, 27, 7) hsl(18, 82%, 15%) Caput Mortuum
#07481b rgb(7, 72, 27) hsl(138, 82%, 15%) British Racing Green