Astral Nomad to Black Market Gradient
CSS
background: linear-gradient(90deg, #203943 0%, #222244 100%);
From Astral Nomad (#203943) to Black Market (#222244). The two hues are 43° 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 | |
|---|---|---|---|---|---|
| Astral Nomad | #203943 | 32, 57, 67 | 197°, 35%, 19% | 52, 15, 0, 74 | |
| 25% (near Blue Whale) | #213343 | 33, 51, 67 | 208°, 34%, 20% | 51, 24, 0, 74 | |
| 50% (near Blue Whale) | #212E44 | 33, 46, 68 | 218°, 35%, 20% | 51, 32, 0, 73 | |
| 75% (near Black Market) | #222844 | 34, 40, 68 | 229°, 33%, 20% | 50, 41, 0, 73 | |
| Black Market | #222244 | 34, 34, 68 | 240°, 33%, 20% | 50, 50, 0, 73 |
Halfway along, the gradient is #212E44, closest to the named color Blue Whale. 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.25:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #203943, #222244) - Diagonal:
linear-gradient(135deg, #203943, #222244) - Radial, from the center out:
radial-gradient(circle, #203943, #222244) - Tailwind CSS:
bg-gradient-to-r from-[#203943] to-[#222244]
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 Astral Nomad to Black Market gradient?
It starts at #203943 (Astral Nomad) and ends at #222244 (Black Market), with #212E44 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #203943, #222244) runs from Black Market on the left to Astral Nomad on the right.