C64 Blue to Overdue Blue Gradient
CSS
background: linear-gradient(90deg, #003aff 0%, #4400ff 100%);
From C64 Blue (#003AFF) to Overdue Blue (#4400FF). The two hues are 30° 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 | |
|---|---|---|---|---|---|
| C64 Blue | #003AFF | 0, 58, 255 | 226°, 100%, 50% | 100, 77, 0, 0 | |
| 25% (near Vivid Blue) | #112CFF | 17, 44, 255 | 233°, 100%, 53% | 93, 83, 0, 0 | |
| 50% (near Bluebonnet) | #221DFF | 34, 29, 255 | 241°, 100%, 56% | 87, 89, 0, 0 | |
| 75% (near Blustering Blue) | #330FFF | 51, 15, 255 | 249°, 100%, 53% | 80, 94, 0, 0 | |
| Overdue Blue | #4400FF | 68, 0, 255 | 256°, 100%, 50% | 73, 100, 0, 0 |
Halfway along, the gradient is #221DFF, closest to the named color Bluebonnet. 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.13:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #003aff, #4400ff) - Diagonal:
linear-gradient(135deg, #003aff, #4400ff) - Radial, from the center out:
radial-gradient(circle, #003aff, #4400ff) - Tailwind CSS:
bg-gradient-to-r from-[#003aff] to-[#4400ff]
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 C64 Blue to Overdue Blue gradient?
It starts at #003AFF (C64 Blue) and ends at #4400FF (Overdue Blue), with #221DFF in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #003aff, #4400ff) runs from Overdue Blue on the left to C64 Blue on the right.