Cold and Dark to Dark Soul Gradient
CSS
background: linear-gradient(90deg, #154250 0%, #112255 100%);
From Cold and Dark (#154250) to Dark Soul (#112255). The two hues are 31° 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 | |
|---|---|---|---|---|---|
| Cold and Dark | #154250 | 21, 66, 80 | 194°, 58%, 20% | 74, 18, 0, 69 | |
| 25% (near Cold and Dark) | #143A51 | 20, 58, 81 | 203°, 60%, 20% | 75, 28, 0, 68 | |
| 50% (near Midnight Ocean) | #133253 | 19, 50, 83 | 211°, 63%, 20% | 77, 40, 0, 67 | |
| 75% (near Dark Soul) | #122A54 | 18, 42, 84 | 218°, 65%, 20% | 79, 50, 0, 67 | |
| Dark Soul | #112255 | 17, 34, 85 | 225°, 67%, 20% | 80, 60, 0, 67 |
Halfway along, the gradient is #133253, closest to the named color Midnight Ocean. 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.39:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #154250, #112255) - Diagonal:
linear-gradient(135deg, #154250, #112255) - Radial, from the center out:
radial-gradient(circle, #154250, #112255) - Tailwind CSS:
bg-gradient-to-r from-[#154250] to-[#112255]
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 Cold and Dark to Dark Soul gradient?
It starts at #154250 (Cold and Dark) and ends at #112255 (Dark Soul), with #133253 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #154250, #112255) runs from Dark Soul on the left to Cold and Dark on the right.