#031066 ≈ Midnight Blue
#031066 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 6.27% green and 40% blue; printed in CMYK it uses 97.06% cyan, 84.31% magenta, 0% yellow and 60% black. Its hue angle is 232.12°, with 94.29% saturation and 20.59% 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 16.54:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.76.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0135 |
Shades
#031066 mixed progressively with black.
Tints
#031066 mixed progressively with white.
Tones
#031066 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-031066 {
color: #031066;
}
.bg-031066 {
background-color: #031066;
color: #ffffff;
}
.border-031066 {
border: 2px solid #031066;
}
:root {
--color-primary: #031066;
--color-primary-rgb: 3 16 102;
--color-primary-hsl: 232 94% 21%;
}
.gradient-031066 {
background: linear-gradient(135deg, #031066, #280366);
}
.shadow-031066 {
box-shadow: 0 8px 24px rgb(3 16 102 / 0.35);
}
Midnight Blue
#031066 rgb(3, 16, 102) hsl(232, 94%, 21%) Midnight Blue
#665903 rgb(102, 89, 3) hsl(52, 94%, 21%) Field Drab
#660310 rgb(102, 3, 16) hsl(352, 94%, 21%) Rosewood
#106603 rgb(16, 102, 3) hsl(112, 94%, 21%) Pakistan Green