#1a0d38 ≈ Midnight Blue
#1a0d38 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 10.2% red, 5.1% green and 21.96% blue; printed in CMYK it uses 53.57% cyan, 76.79% magenta, 0% yellow and 78.04% black. Its hue angle is 258.14°, with 62.32% saturation and 13.53% 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 18.13:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 11.15.
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.0079 |
Shades
#1a0d38 mixed progressively with black.
Tints
#1a0d38 mixed progressively with white.
Tones
#1a0d38 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1a0d38 {
color: #1a0d38;
}
.bg-1a0d38 {
background-color: #1a0d38;
color: #ffffff;
}
.border-1a0d38 {
border: 2px solid #1a0d38;
}
:root {
--color-primary: #1a0d38;
--color-primary-rgb: 26 13 56;
--color-primary-hsl: 258 62% 14%;
}
.gradient-1a0d38 {
background: linear-gradient(135deg, #1a0d38, #300d38);
}
.shadow-1a0d38 {
box-shadow: 0 8px 24px rgb(26 13 56 / 0.35);
}
Midnight Blue
#1a0d38 rgb(26, 13, 56) hsl(258, 62%, 14%) Midnight Blue
#2b380d rgb(43, 56, 13) hsl(78, 62%, 14%) Army Green
#381a0d rgb(56, 26, 13) hsl(18, 62%, 14%) Bistre
#0d381a rgb(13, 56, 26) hsl(138, 62%, 14%) British Racing Green