Midnightblue — #191970
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Midnightblue values in every format
| CSS name | midnightblue |
|---|---|
| HEX | #191970 |
| RGB | rgb(25, 25, 112) |
| RGB % | 10%, 10%, 44% |
| HSL | hsl(240, 64%, 27%) |
| HSV / HSB | 240°, 78%, 44% |
| CMYK (print) | 78%, 78%, 0%, 56% |
| Relative luminance | 0.021 |
| Contrast on black | 1.41 : 1 |
| Contrast on white | 14.85 : 1 |
| Best text colour on it | White (14.85 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Midnightblue (50–950)
50 #F2F2FC100 #E2E2F8200 #BCBCF0300 #8A8AE5400 #5050D8500 #2B2BC0600 #22229A700 #1B1B79800 #14145C900 #0E0E3F950 #080826
The scale keeps Midnightblue's hue (240°) and saturation (64%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Midnightblue
Complementary: #191970#707019
Analogous: #194470#191970#441970
Triadic: #191970#701919#197019
Split-complementary: #191970#704419#457019
Square: #191970#701945#707019#197045
Computed by rotating the hue wheel from 240°. Try them live in the Colour Harmony Generator.
Closest named colours
navy (#000080) · darkblue (#00008B) · indigo (#4B0082)
Using Midnightblue well
Midnightblue sits in the blue family at 27% lightness — a dark, moderately saturated, cool colour. As a background it pairs best with white text (14.85:1 contrast). Its complement (#707019) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#194470, #441970) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Midnightblue is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Midnightblue?
#191970 — the CSS named colour “midnightblue”. Its RGB is (25, 25, 112).
Is Midnightblue good for text or backgrounds?
As a background, white text reads best on it (14.85:1). As text itself on white it reaches 14.85:1 — enough for WCAG AA normal text.
What colours go with Midnightblue?
Its complement #707019 for contrast, analogous #194470 and #441970 for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Midnightblue in CMYK for printing?
C78 M78 Y0 K56. CMYK conversions of screen colours are a starting point — always proof before a print run.