#151a79 ≈ Midnight Blue
#151a79 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 10.2% green and 47.45% blue; printed in CMYK it uses 82.64% cyan, 78.51% magenta, 0% yellow and 52.55% black. Its hue angle is 237°, with 70.42% saturation and 27.84% 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.43:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.49.
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.0228 |
Shades
#151a79 mixed progressively with black.
Tints
#151a79 mixed progressively with white.
Tones
#151a79 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-151a79 {
color: #151a79;
}
.bg-151a79 {
background-color: #151a79;
color: #ffffff;
}
.border-151a79 {
border: 2px solid #151a79;
}
:root {
--color-primary: #151a79;
--color-primary-rgb: 21 26 121;
--color-primary-hsl: 237 70% 28%;
}
.gradient-151a79 {
background: linear-gradient(135deg, #151a79, #421579);
}
.shadow-151a79 {
box-shadow: 0 8px 24px rgb(21 26 121 / 0.35);
}
Midnight Blue
#151a79 rgb(21, 26, 121) hsl(237, 70%, 28%) Midnight Blue
#797415 rgb(121, 116, 21) hsl(57, 70%, 28%) Olive
#79151a rgb(121, 21, 26) hsl(357, 70%, 28%) Falu Red
#1a7915 rgb(26, 121, 21) hsl(117, 70%, 28%) Green