Midnight Radar
3-color CSS gradient
Midnight Radar is a 3-color CSS linear gradient built from #020617, #0F172A, and #1E293B. It reads as neutral and dark. White text on it keeps at least 14.63: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 Radar?
Every color in this 3-color set, with its contrast ratio against white and black.
| Color | Name | HEX | RGB | HSL | On white | On black |
|---|---|---|---|---|---|---|
| #020617 | Rich Black | #020617 | 2, 6, 23 | 229°, 84%, 5% | 20.17:1 | 1.04:1 |
| #0F172A | Dark Navy | #0F172A | 15, 23, 42 | 222°, 47%, 11% | 17.85:1 | 1.18:1 |
| #1E293B | Navy Blue | #1E293B | 30, 41, 59 | 217°, 33%, 17% | 14.63:1 | 1.44:1 |
Related gradients
Others sharing the same hues and tone