Huebook

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

NameHEXRGBHSLCMYK
Midnight in Tokyo#0000880, 0, 136240°, 100%, 27%100, 100, 0, 47
25% (near Orbital Kingdom)#13008719, 0, 135248°, 100%, 26%86, 100, 0, 47
50% (near Orbital Kingdom)#26018638, 1, 134257°, 99%, 26%72, 99, 0, 47
75% (near Galactic Federation)#38018456, 1, 132265°, 98%, 26%58, 99, 0, 48
Indigo Static#4B018375, 1, 131274°, 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

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.