Ultramarine Dream
3-color CSS gradient
Ultramarine Dream is a 3-color CSS linear gradient built from #1A2A6C, #3E5BD8, and #A0B8FF. Its hues sit in the blue range, and reads as cool. White text on it keeps at least 1.95:1 at its weakest point — below every WCAG text threshold.
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 Ultramarine Dream?
Every color in this 3-color set, with its contrast ratio against white and black.
| Color | Name | HEX | RGB | HSL | On white | On black |
|---|---|---|---|---|---|---|
| #1A2A6C | Midnight Blue | #1A2A6C | 26, 42, 108 | 228°, 61%, 26% | 13.19:1 | 1.59:1 |
| #3E5BD8 | Royal Blue | #3E5BD8 | 62, 91, 216 | 229°, 66%, 55% | 5.69:1 | 3.69:1 |
| #A0B8FF | Light Sky Blue | #A0B8FF | 160, 184, 255 | 225°, 100%, 81% | 1.95:1 | 10.79:1 |
Related gradients
Others sharing the same hues and tone