Huebook

Mediterranea to Naval Blue Gradient

CSS

background: linear-gradient(90deg, #39636a 0%, #384b6b 100%);

From Mediterranea (#39636A) to Naval Blue (#384B6B). The two hues are 29° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Mediterranea#39636A57, 99, 106189°, 30%, 32%46, 7, 0, 58
25% (near Under the Sea)#395D6A57, 93, 106196°, 30%, 32%46, 12, 0, 58
50% (near Under the Sea)#39576B57, 87, 107204°, 30%, 32%47, 19, 0, 58
75% (near Naval Blue)#38516B56, 81, 107211°, 31%, 32%48, 24, 0, 58
Naval Blue#384B6B56, 75, 107218°, 31%, 32%48, 30, 0, 58

Halfway along, the gradient is #39576B, closest to the named color Under the Sea. 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.33: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 Mediterranea to Naval Blue gradient?

It starts at #39636A (Mediterranea) and ends at #384B6B (Naval Blue), with #39576B in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #39636a, #384b6b) runs from Naval Blue on the left to Mediterranea on the right.