Midnight Indigo
2-color CSS gradient
Midnight Indigo is a 2-color CSS linear gradient built from #141E30 and #243B55. Its hues sit in the blue range, and reads as neutral, dark, muted, and cool. White text on it keeps at least 11.46:1 at its weakest point — enough for WCAG AAA body text.
Stops
Light & dark theme
This palette as Material 3 color roles for a real interface, in light and dark mode. Every color comes with the text color that goes on it, and every pair's contrast is measured.
What are the HEX, RGB, and HSL values for Midnight Indigo?
Every color in this 2-color set, with its contrast ratio against white and black.
| Color | Name | HEX | RGB | HSL | On white | On black |
|---|---|---|---|---|---|---|
| #141E30 | Dark Navy | #141E30 | 20, 30, 48 | 219°, 41%, 13% | 16.69:1 | 1.26:1 |
| #243B55 | Charcoal Blue | #243B55 | 36, 59, 85 | 212°, 40%, 24% | 11.46:1 | 1.83:1 |
Related gradients
Others sharing the same hues and tone