French Blue to Too Dark Tonight Gradient
CSS
background: linear-gradient(90deg, #0072bb 0%, #0011bb 100%);
From French Blue (#0072BB) to Too Dark Tonight (#0011BB). 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 | |
|---|---|---|---|---|---|
| French Blue | #0072BB | 0, 114, 187 | 203°, 100%, 37% | 100, 39, 0, 27 | |
| 25% (near Wing Commander) | #005ABB | 0, 90, 187 | 211°, 100%, 37% | 100, 52, 0, 27 | |
| 50% (near Once in a Blue Moon) | #0042BB | 0, 66, 187 | 219°, 100%, 37% | 100, 65, 0, 27 | |
| 75% (near Blue Screen of Death) | #0029BB | 0, 41, 187 | 227°, 100%, 37% | 100, 78, 0, 27 | |
| Too Dark Tonight | #0011BB | 0, 17, 187 | 235°, 100%, 37% | 100, 91, 0, 27 |
Halfway along, the gradient is #0042BB, 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.29:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #0072bb, #0011bb) - Diagonal:
linear-gradient(135deg, #0072bb, #0011bb) - Radial, from the center out:
radial-gradient(circle, #0072bb, #0011bb) - Tailwind CSS:
bg-gradient-to-r from-[#0072bb] to-[#0011bb]
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 French Blue to Too Dark Tonight gradient?
It starts at #0072BB (French Blue) and ends at #0011BB (Too Dark Tonight), with #0042BB in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #0072bb, #0011bb) runs from Too Dark Tonight on the left to French Blue on the right.