One Year of Rain to Deep Sea Base Gradient
CSS
background: linear-gradient(90deg, #29465b 0%, #2c2c57 100%);
From One Year of Rain (#29465B) to Deep Sea Base (#2C2C57). The two hues are 35° 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 | |
|---|---|---|---|---|---|
| One Year of Rain | #29465B | 41, 70, 91 | 205°, 38%, 26% | 55, 23, 0, 64 | |
| 25% (near Nautilus) | #2A405A | 42, 64, 90 | 213°, 36%, 26% | 53, 29, 0, 65 | |
| 50% (near Mediaeval Blue) | #2B3959 | 43, 57, 89 | 222°, 35%, 26% | 52, 36, 0, 65 | |
| 75% (near Midnight Escapade) | #2B3358 | 43, 51, 88 | 229°, 34%, 26% | 51, 42, 0, 65 | |
| Deep Sea Base | #2C2C57 | 44, 44, 87 | 240°, 33%, 26% | 49, 49, 0, 66 |
Halfway along, the gradient is #2B3959, closest to the named color Mediaeval 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.32:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #29465b, #2c2c57) - Diagonal:
linear-gradient(135deg, #29465b, #2c2c57) - Radial, from the center out:
radial-gradient(circle, #29465b, #2c2c57) - Tailwind CSS:
bg-gradient-to-r from-[#29465b] to-[#2c2c57]
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 One Year of Rain to Deep Sea Base gradient?
It starts at #29465B (One Year of Rain) and ends at #2C2C57 (Deep Sea Base), with #2B3959 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #29465b, #2c2c57) runs from Deep Sea Base on the left to One Year of Rain on the right.