MidnightBlue — Color Codes & Palette
Color Codes
| Format | Value | |
|---|---|---|
| HEX | #191970 | |
| RGB | rgb(25, 25, 112) | |
| HSL | hsl(240, 64%, 27%) |
Shades of MidnightBlue
| #161664 | #131358 | #11114B | #0E0E3F | #0B0B32 | #080826 | #060619 | #03030D |
Tints of MidnightBlue
| #202092 | #2727B4 | #3232D2 | #5454D9 | #7575E1 | #9696E8 | #B8B8EF | #D9D9F7 |
Color Pairings & Harmony
|
Complementary
#717119
|
Analogous +30°
#451971
|
Analogous −30°
#194571
|
Triadic +120°
#711919
|
Triadic −120°
#197119
|
Contrast & Accessibility (WCAG 2.1)
CSS Snippet
.element {
color: #191970;
}
.element-bg {
background-color: #191970;
color: #ffffff;
}
.element-border {
border: 2px solid #191970;
}
About MidnightBlue
MidnightBlue is a dark color with high saturation, defined by the hex code #191970. Its exact color model values are rgb(25, 25, 112) in RGB and hsl(240, 64%, 27%) in HSL (hue 240°, saturation 64%, lightness 27%). On a white background the contrast ratio is 14.85:1 — AAA pass for normal text, and on black it is 1.41:1 — Fail. Use MidnightBlue for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.
Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.
Open the Color Picker →