Moonless Sky to Nocturne Gradient
CSS
background: linear-gradient(90deg, #444b4a 0%, #344d58 100%);
From Moonless Sky (#444B4A) to Nocturne (#344D58). The two hues are 27° 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 | |
|---|---|---|---|---|---|
| Moonless Sky | #444B4A | 68, 75, 74 | 171°, 5%, 28% | 9, 0, 1, 71 | |
| 25% (near Dark Space) | #404C4E | 64, 76, 78 | 189°, 10%, 28% | 18, 3, 0, 69 | |
| 50% (near Night Watch) | #3C4C51 | 60, 76, 81 | 194°, 15%, 28% | 26, 6, 0, 68 | |
| 75% (near Nocturne) | #384D55 | 56, 77, 85 | 197°, 21%, 28% | 34, 9, 0, 67 | |
| Nocturne | #344D58 | 52, 77, 88 | 198°, 26%, 27% | 41, 12, 0, 65 |
Halfway along, the gradient is #3C4C51, closest to the named color Night Watch. 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.00:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #444b4a, #344d58) - Diagonal:
linear-gradient(135deg, #444b4a, #344d58) - Radial, from the center out:
radial-gradient(circle, #444b4a, #344d58) - Tailwind CSS:
bg-gradient-to-r from-[#444b4a] to-[#344d58]
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 Moonless Sky to Nocturne gradient?
It starts at #444B4A (Moonless Sky) and ends at #344D58 (Nocturne), with #3C4C51 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #444b4a, #344d58) runs from Nocturne on the left to Moonless Sky on the right.