#151e6c ≈ Midnight Blue
#151e6c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 11.76% green and 42.35% blue; printed in CMYK it uses 80.56% cyan, 72.22% magenta, 0% yellow and 57.65% black. Its hue angle is 233.79°, with 67.44% saturation and 25.29% 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.64:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.04.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0217 |
Shades
#151e6c mixed progressively with black.
Tints
#151e6c mixed progressively with white.
Tones
#151e6c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151e6c {
color: #151e6c;
}
.bg-151e6c {
background-color: #151e6c;
color: #ffffff;
}
.border-151e6c {
border: 2px solid #151e6c;
}
:root {
--color-primary: #151e6c;
--color-primary-rgb: 21 30 108;
--color-primary-hsl: 234 67% 25%;
}
.gradient-151e6c {
background: linear-gradient(135deg, #151e6c, #37156c);
}
.shadow-151e6c {
box-shadow: 0 8px 24px rgb(21 30 108 / 0.35);
}
Midnight Blue
#151e6c rgb(21, 30, 108) hsl(234, 67%, 25%) Midnight Blue
#6c6315 rgb(108, 99, 21) hsl(54, 67%, 25%) Field Drab
#6c151e rgb(108, 21, 30) hsl(354, 67%, 25%) Burgundy
#1e6c15 rgb(30, 108, 21) hsl(114, 67%, 25%) Pakistan Green