#030f6a ≈ Midnight Blue
#030f6a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 5.88% green and 41.57% blue; printed in CMYK it uses 97.17% cyan, 85.85% magenta, 0% yellow and 58.43% black. Its hue angle is 233.01°, with 94.5% saturation and 21.37% 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.4:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.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.014 |
Shades
#030f6a mixed progressively with black.
Tints
#030f6a mixed progressively with white.
Tones
#030f6a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-030f6a {
color: #030f6a;
}
.bg-030f6a {
background-color: #030f6a;
color: #ffffff;
}
.border-030f6a {
border: 2px solid #030f6a;
}
:root {
--color-primary: #030f6a;
--color-primary-rgb: 3 15 106;
--color-primary-hsl: 233 95% 21%;
}
.gradient-030f6a {
background: linear-gradient(135deg, #030f6a, #2a036a);
}
.shadow-030f6a {
box-shadow: 0 8px 24px rgb(3 15 106 / 0.35);
}
Midnight Blue
#030f6a rgb(3, 15, 106) hsl(233, 95%, 21%) Midnight Blue
#6a5e03 rgb(106, 94, 3) hsl(53, 95%, 21%) Field Drab
#6a030f rgb(106, 3, 15) hsl(353, 95%, 21%) Rosewood
#0f6a03 rgb(15, 106, 3) hsl(113, 95%, 21%) Pakistan Green