Brilliant Blue to Dark Galaxy Gradient
CSS
background: linear-gradient(90deg, #0075b3 0%, #0018a8 100%);
From Brilliant Blue (#0075B3) to Dark Galaxy (#0018A8). 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 | |
|---|---|---|---|---|---|
| Brilliant Blue | #0075B3 | 0, 117, 179 | 201°, 100%, 35% | 100, 35, 0, 30 | |
| 25% (near Wing Commander) | #005EB0 | 0, 94, 176 | 208°, 100%, 35% | 100, 47, 0, 31 | |
| 50% (near Once in a Blue Moon) | #0047AE | 0, 71, 174 | 216°, 100%, 34% | 100, 59, 0, 32 | |
| 75% (near Blue Hour) | #002FAB | 0, 47, 171 | 224°, 100%, 34% | 100, 73, 0, 33 | |
| Dark Galaxy | #0018A8 | 0, 24, 168 | 231°, 100%, 33% | 100, 86, 0, 34 |
Halfway along, the gradient is #0047AE, closest to the named color Once in a Blue Moon. 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 2.47:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #0075b3, #0018a8) - Diagonal:
linear-gradient(135deg, #0075b3, #0018a8) - Radial, from the center out:
radial-gradient(circle, #0075b3, #0018a8) - Tailwind CSS:
bg-gradient-to-r from-[#0075b3] to-[#0018a8]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Brilliant Blue to Dark Galaxy gradient?
It starts at #0075B3 (Brilliant Blue) and ends at #0018A8 (Dark Galaxy), with #0047AE in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #0075b3, #0018a8) runs from Dark Galaxy on the left to Brilliant Blue on the right.