#1c1f7c ≈ Midnight Blue
#1c1f7c 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 48.63% blue; printed in CMYK it uses 77.42% cyan, 75% magenta, 0% yellow and 51.37% black. Its hue angle is 238.13°, with 63.16% saturation and 29.8% 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 13.67:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.23.
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.0268 |
Shades
#1c1f7c mixed progressively with black.
Tints
#1c1f7c mixed progressively with white.
Tones
#1c1f7c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1c1f7c {
color: #1c1f7c;
}
.bg-1c1f7c {
background-color: #1c1f7c;
color: #ffffff;
}
.border-1c1f7c {
border: 2px solid #1c1f7c;
}
:root {
--color-primary: #1c1f7c;
--color-primary-rgb: 28 31 124;
--color-primary-hsl: 238 63% 30%;
}
.gradient-1c1f7c {
background: linear-gradient(135deg, #1c1f7c, #491c7c);
}
.shadow-1c1f7c {
box-shadow: 0 8px 24px rgb(28 31 124 / 0.35);
}
Midnight Blue
#1c1f7c rgb(28, 31, 124) hsl(238, 63%, 30%) Midnight Blue
#7c791c rgb(124, 121, 28) hsl(58, 63%, 30%) Olive
#7c1c1f rgb(124, 28, 31) hsl(358, 63%, 30%) Falu Red
#1f7c1c rgb(31, 124, 28) hsl(118, 63%, 30%) Green