#030a5a ≈ Midnight Blue
#030a5a is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 3.92% green and 35.29% blue; printed in CMYK it uses 96.67% cyan, 88.89% magenta, 0% yellow and 64.71% black. Its hue angle is 235.17°, with 93.55% saturation and 18.24% 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 17.57:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.68.
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.0097 |
Shades
#030a5a mixed progressively with black.
Tints
#030a5a mixed progressively with white.
Tones
#030a5a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-030a5a {
color: #030a5a;
}
.bg-030a5a {
background-color: #030a5a;
color: #ffffff;
}
.border-030a5a {
border: 2px solid #030a5a;
}
:root {
--color-primary: #030a5a;
--color-primary-rgb: 3 10 90;
--color-primary-hsl: 235 94% 18%;
}
.gradient-030a5a {
background: linear-gradient(135deg, #030a5a, #28035a);
}
.shadow-030a5a {
box-shadow: 0 8px 24px rgb(3 10 90 / 0.35);
}
Midnight Blue
#030a5a rgb(3, 10, 90) hsl(235, 94%, 18%) Midnight Blue
#5a5303 rgb(90, 83, 3) hsl(55, 94%, 18%) Army Green
#5a030a rgb(90, 3, 10) hsl(355, 94%, 18%) Rosewood
#0a5a03 rgb(10, 90, 3) hsl(115, 94%, 18%) Lincoln Green