#031663 ≈ Midnight Blue
#031663 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 8.63% green and 38.82% blue; printed in CMYK it uses 96.97% cyan, 77.78% magenta, 0% yellow and 61.18% black. Its hue angle is 228.13°, with 94.12% saturation and 20% 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.17:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.81.
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.0149 |
Shades
#031663 mixed progressively with black.
Tints
#031663 mixed progressively with white.
Tones
#031663 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-031663 {
color: #031663;
}
.bg-031663 {
background-color: #031663;
color: #ffffff;
}
.border-031663 {
border: 2px solid #031663;
}
:root {
--color-primary: #031663;
--color-primary-rgb: 3 22 99;
--color-primary-hsl: 228 94% 20%;
}
.gradient-031663 {
background: linear-gradient(135deg, #031663, #200363);
}
.shadow-031663 {
box-shadow: 0 8px 24px rgb(3 22 99 / 0.35);
}
Midnight Blue
#031663 rgb(3, 22, 99) hsl(228, 94%, 20%) Midnight Blue
#635003 rgb(99, 80, 3) hsl(48, 94%, 20%) Field Drab
#630316 rgb(99, 3, 22) hsl(348, 94%, 20%) Rosewood
#166303 rgb(22, 99, 3) hsl(108, 94%, 20%) Dark Green