#1d287c ≈ Midnight Blue
#1d287c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 11.37% red, 15.69% green and 48.63% blue; printed in CMYK it uses 76.61% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 233.05°, with 62.09% saturation and 30% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and corporate identities. White text on this color reaches a contrast ratio of 12.75:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.32.
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.0323 |
Shades
#1d287c mixed progressively with black.
Tints
#1d287c mixed progressively with white.
Tones
#1d287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1d287c {
color: #1d287c;
}
.bg-1d287c {
background-color: #1d287c;
color: #ffffff;
}
.border-1d287c {
border: 2px solid #1d287c;
}
:root {
--color-primary: #1d287c;
--color-primary-rgb: 29 40 124;
--color-primary-hsl: 233 62% 30%;
}
.gradient-1d287c {
background: linear-gradient(135deg, #1d287c, #411d7c);
}
.shadow-1d287c {
box-shadow: 0 8px 24px rgb(29 40 124 / 0.35);
}
Midnight Blue
#1d287c rgb(29, 40, 124) hsl(233, 62%, 30%) Midnight Blue
#7c711d rgb(124, 113, 29) hsl(53, 62%, 30%) Olive
#7c1d28 rgb(124, 29, 40) hsl(353, 62%, 30%) Burgundy
#287c1d rgb(40, 124, 29) hsl(113, 62%, 30%) Green