Midnight in Tokyo to Indigo Static Gradient
CSS
background: linear-gradient(90deg, #000088 0%, #4b0183 100%);
From Midnight in Tokyo (#000088) to Indigo Static (#4B0183). The two hues are 34° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Midnight in Tokyo | #000088 | 0, 0, 136 | 240°, 100%, 27% | 100, 100, 0, 47 | |
| 25% (near Orbital Kingdom) | #130087 | 19, 0, 135 | 248°, 100%, 26% | 86, 100, 0, 47 | |
| 50% (near Orbital Kingdom) | #260186 | 38, 1, 134 | 257°, 99%, 26% | 72, 99, 0, 47 | |
| 75% (near Galactic Federation) | #380184 | 56, 1, 132 | 265°, 98%, 26% | 58, 99, 0, 48 | |
| Indigo Static | #4B0183 | 75, 1, 131 | 274°, 98%, 26% | 43, 99, 0, 49 |
Halfway along, the gradient is #260186, closest to the named color Orbital Kingdom. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.20:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #000088, #4b0183) - Diagonal:
linear-gradient(135deg, #000088, #4b0183) - Radial, from the center out:
radial-gradient(circle, #000088, #4b0183) - Tailwind CSS:
bg-gradient-to-r from-[#000088] to-[#4b0183]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Midnight in Tokyo to Indigo Static gradient?
It starts at #000088 (Midnight in Tokyo) and ends at #4B0183 (Indigo Static), with #260186 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #000088, #4b0183) runs from Indigo Static on the left to Midnight in Tokyo on the right.