Fresh Air to Pastel Blue Gradient
CSS
background: linear-gradient(90deg, #a6e7ff 0%, #a2bffe 100%);
From Fresh Air (#A6E7FF) to Pastel Blue (#A2BFFE). The two hues are 25° 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 | |
|---|---|---|---|---|---|
| Fresh Air | #A6E7FF | 166, 231, 255 | 196°, 100%, 83% | 35, 9, 0, 0 | |
| 25% (near Droplet) | #A5DDFF | 165, 221, 255 | 203°, 100%, 82% | 35, 13, 0, 0 | |
| 50% (near Baby Blue) | #A4D3FF | 164, 211, 255 | 209°, 100%, 82% | 36, 17, 0, 0 | |
| 75% (near Baby Blue) | #A3C9FE | 163, 201, 254 | 215°, 98%, 82% | 36, 21, 0, 0 | |
| Pastel Blue | #A2BFFE | 162, 191, 254 | 221°, 98%, 82% | 36, 25, 0, 0 |
Halfway along, the gradient is #A4D3FF, closest to the named color Baby Blue. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black 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.36:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #a6e7ff, #a2bffe) - Diagonal:
linear-gradient(135deg, #a6e7ff, #a2bffe) - Radial, from the center out:
radial-gradient(circle, #a6e7ff, #a2bffe) - Tailwind CSS:
bg-gradient-to-r from-[#a6e7ff] to-[#a2bffe]
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 Fresh Air to Pastel Blue gradient?
It starts at #A6E7FF (Fresh Air) and ends at #A2BFFE (Pastel Blue), with #A4D3FF in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #a6e7ff, #a2bffe) runs from Pastel Blue on the left to Fresh Air on the right.