Space Cadet to Silent Orbit Gradient
CSS
background: linear-gradient(90deg, #1d2951 0%, #231c4d 100%);
From Space Cadet (#1D2951) to Silent Orbit (#231C4D). The two hues are 22° 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 | |
|---|---|---|---|---|---|
| Space Cadet | #1D2951 | 29, 41, 81 | 226°, 47%, 22% | 64, 49, 0, 68 | |
| 25% (near Space Cadet) | #1F2650 | 31, 38, 80 | 231°, 44%, 22% | 61, 52, 0, 69 | |
| 50% (near Spacescape) | #20234F | 32, 35, 79 | 236°, 42%, 22% | 59, 56, 0, 69 | |
| 75% (near Silent Orbit) | #221F4E | 34, 31, 78 | 244°, 43%, 21% | 56, 60, 0, 69 | |
| Silent Orbit | #231C4D | 35, 28, 77 | 249°, 47%, 21% | 55, 64, 0, 70 |
Halfway along, the gradient is #20234F, closest to the named color Spacescape. 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.11:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #1d2951, #231c4d) - Diagonal:
linear-gradient(135deg, #1d2951, #231c4d) - Radial, from the center out:
radial-gradient(circle, #1d2951, #231c4d) - Tailwind CSS:
bg-gradient-to-r from-[#1d2951] to-[#231c4d]
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 Space Cadet to Silent Orbit gradient?
It starts at #1D2951 (Space Cadet) and ends at #231C4D (Silent Orbit), with #20234F in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #1d2951, #231c4d) runs from Silent Orbit on the left to Space Cadet on the right.