Capri to C64 Blue Gradient
CSS
background: linear-gradient(90deg, #00bfff 0%, #003aff 100%);
From Capri (#00BFFF) to C64 Blue (#003AFF). 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 | |
|---|---|---|---|---|---|
| Capri | #00BFFF | 0, 191, 255 | 195°, 100%, 50% | 100, 25, 0, 0 | |
| 25% (near Fresh Blue of Bel Air) | #009EFF | 0, 158, 255 | 203°, 100%, 50% | 100, 38, 0, 0 | |
| 50% (near Azure) | #007DFF | 0, 125, 255 | 211°, 100%, 50% | 100, 51, 0, 0 | |
| 75% (near Blue Ribbon) | #005BFF | 0, 91, 255 | 219°, 100%, 50% | 100, 64, 0, 0 | |
| C64 Blue | #003AFF | 0, 58, 255 | 226°, 100%, 50% | 100, 77, 0, 0 |
Halfway along, the gradient is #007DFF, closest to the named color Azure. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on the Capri end and white text on the C64 Blue end. For a single line of text across the whole width, put it on a solid panel or pick the side it sits on. The two end colors have a contrast ratio of 3.25:1, enough to tell them apart clearly.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #00bfff, #003aff) - Diagonal:
linear-gradient(135deg, #00bfff, #003aff) - Radial, from the center out:
radial-gradient(circle, #00bfff, #003aff) - Tailwind CSS:
bg-gradient-to-r from-[#00bfff] to-[#003aff]
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 Capri to C64 Blue gradient?
It starts at #00BFFF (Capri) and ends at #003AFF (C64 Blue), with #007DFF in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #00bfff, #003aff) runs from C64 Blue on the left to Capri on the right.