#01246e ≈ Midnight Blue
#01246e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.39% red, 14.12% green and 43.14% blue; printed in CMYK it uses 99.09% cyan, 67.27% magenta, 0% yellow and 56.86% black. Its hue angle is 220.73°, with 98.2% saturation and 21.76% 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 4.84.
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.0239 |
Shades
#01246e mixed progressively with black.
Tints
#01246e mixed progressively with white.
Tones
#01246e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-01246e {
color: #01246e;
}
.bg-01246e {
background-color: #01246e;
color: #ffffff;
}
.border-01246e {
border: 2px solid #01246e;
}
:root {
--color-primary: #01246e;
--color-primary-rgb: 1 36 110;
--color-primary-hsl: 221 98% 22%;
}
.gradient-01246e {
background: linear-gradient(135deg, #01246e, #14016e);
}
.shadow-01246e {
box-shadow: 0 8px 24px rgb(1 36 110 / 0.35);
}
Midnight Blue
#01246e rgb(1, 36, 110) hsl(221, 98%, 22%) Midnight Blue
#6e4b01 rgb(110, 75, 1) hsl(41, 98%, 22%) Field Drab
#6e0124 rgb(110, 1, 36) hsl(341, 98%, 22%) Claret
#246e01 rgb(36, 110, 1) hsl(101, 98%, 22%) Pakistan Green