#012279 ≈ Midnight Blue
#012279 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.39% red, 13.33% green and 47.45% blue; printed in CMYK it uses 99.17% cyan, 71.9% magenta, 0% yellow and 52.55% black. Its hue angle is 223.5°, with 98.36% saturation and 23.92% 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.94:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.6.
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.0253 |
Shades
#012279 mixed progressively with black.
Tints
#012279 mixed progressively with white.
Tones
#012279 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-012279 {
color: #012279;
}
.bg-012279 {
background-color: #012279;
color: #ffffff;
}
.border-012279 {
border: 2px solid #012279;
}
:root {
--color-primary: #012279;
--color-primary-rgb: 1 34 121;
--color-primary-hsl: 224 98% 24%;
}
.gradient-012279 {
background: linear-gradient(135deg, #012279, #1c0179);
}
.shadow-012279 {
box-shadow: 0 8px 24px rgb(1 34 121 / 0.35);
}
Midnight Blue
#012279 rgb(1, 34, 121) hsl(224, 98%, 24%) Midnight Blue
#795801 rgb(121, 88, 1) hsl(44, 98%, 24%) Field Drab
#790122 rgb(121, 1, 34) hsl(344, 98%, 24%) Burgundy
#227901 rgb(34, 121, 1) hsl(104, 98%, 24%) Green