Huebook

Pacific Depths to Midnight in Tokyo Gradient

CSS

background: linear-gradient(90deg, #004488 0%, #000088 100%);

From Pacific Depths (#004488) to Midnight in Tokyo (#000088). The two hues are 30° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Pacific Depths#0044880, 68, 136210°, 100%, 27%100, 50, 0, 47
25% (near One Minute to Midnight)#0033880, 51, 136218°, 100%, 27%100, 63, 0, 47
50% (near Lost in Heaven)#0022880, 34, 136225°, 100%, 27%100, 75, 0, 47
75% (near Galactic Cruise)#0011880, 17, 136233°, 100%, 27%100, 88, 0, 47
Midnight in Tokyo#0000880, 0, 136240°, 100%, 27%100, 100, 0, 47

Halfway along, the gradient is #002288, closest to the named color Lost in Heaven. 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.61: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.

Related gradients

Questions

What are the HEX codes of the Pacific Depths to Midnight in Tokyo gradient?

It starts at #004488 (Pacific Depths) and ends at #000088 (Midnight in Tokyo), with #002288 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #004488, #000088) runs from Midnight in Tokyo on the left to Pacific Depths on the right.