Huebook

Subnautical to Ravenclaw Gradient

CSS

background: linear-gradient(90deg, #012253 0%, #0a0555 100%);

From Subnautical (#012253) to Ravenclaw (#0A0555). The two hues are 28° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Subnautical#0122531, 34, 83216°, 98%, 16%99, 59, 0, 67
25% (near Subnautical)#031B543, 27, 84222°, 93%, 17%96, 68, 0, 67
50% (near Interstellar Blue)#0614546, 20, 84229°, 87%, 18%93, 76, 0, 67
75% (near Ravenclaw)#080C558, 12, 85237°, 83%, 18%91, 86, 0, 67
Ravenclaw#0A055510, 5, 85244°, 89%, 18%88, 94, 0, 67

Halfway along, the gradient is #061454, closest to the named color Interstellar Blue. 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.16: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 Subnautical to Ravenclaw gradient?

It starts at #012253 (Subnautical) and ends at #0A0555 (Ravenclaw), with #061454 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #012253, #0a0555) runs from Ravenclaw on the left to Subnautical on the right.