Blue-Collar to Long-Haul Flight Gradient
CSS
background: linear-gradient(90deg, #005f7a 0%, #002277 100%);
From Blue-Collar (#005F7A) to Long-Haul Flight (#002277). 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 | |
|---|---|---|---|---|---|
| Blue-Collar | #005F7A | 0, 95, 122 | 193°, 100%, 24% | 100, 22, 0, 52 | |
| 25% (near Sea Paint) | #005079 | 0, 80, 121 | 200°, 100%, 24% | 100, 34, 0, 53 | |
| 50% (near Mermaid Blues) | #004179 | 0, 65, 121 | 208°, 100%, 24% | 100, 46, 0, 53 | |
| 75% (near Below the Surface) | #003178 | 0, 49, 120 | 216°, 100%, 24% | 100, 59, 0, 53 | |
| Long-Haul Flight | #002277 | 0, 34, 119 | 223°, 100%, 23% | 100, 71, 0, 53 |
Halfway along, the gradient is #004179, closest to the named color Mermaid Blues. 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.95:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #005f7a, #002277) - Diagonal:
linear-gradient(135deg, #005f7a, #002277) - Radial, from the center out:
radial-gradient(circle, #005f7a, #002277) - Tailwind CSS:
bg-gradient-to-r from-[#005f7a] to-[#002277]
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 Blue-Collar to Long-Haul Flight gradient?
It starts at #005F7A (Blue-Collar) and ends at #002277 (Long-Haul Flight), with #004179 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #005f7a, #002277) runs from Long-Haul Flight on the left to Blue-Collar on the right.