#1c1f70 ≈ Midnight Blue
#1c1f70 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 10.98% red, 12.16% green and 43.92% blue; printed in CMYK it uses 75% cyan, 72.32% magenta, 0% yellow and 56.08% black. Its hue angle is 237.86°, with 60% saturation and 27.45% 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 luxury branding. White text on this color reaches a contrast ratio of 14.2:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.7.
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.024 |
Shades
#1c1f70 mixed progressively with black.
Tints
#1c1f70 mixed progressively with white.
Tones
#1c1f70 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1c1f70 {
color: #1c1f70;
}
.bg-1c1f70 {
background-color: #1c1f70;
color: #ffffff;
}
.border-1c1f70 {
border: 2px solid #1c1f70;
}
:root {
--color-primary: #1c1f70;
--color-primary-rgb: 28 31 112;
--color-primary-hsl: 238 60% 27%;
}
.gradient-1c1f70 {
background: linear-gradient(135deg, #1c1f70, #431c70);
}
.shadow-1c1f70 {
box-shadow: 0 8px 24px rgb(28 31 112 / 0.35);
}
Midnight Blue
#1c1f70 rgb(28, 31, 112) hsl(238, 60%, 27%) Midnight Blue
#706d1c rgb(112, 109, 28) hsl(58, 60%, 27%) Olive
#701c1f rgb(112, 28, 31) hsl(358, 60%, 27%) Burgundy
#1f701c rgb(31, 112, 28) hsl(118, 60%, 27%) Pakistan Green