# Midnight navy to lilac

Analogous navy, blue and lavender gradient with 7 colors: #001438, #002273, #2837b8, #5d53dd, #9172ef, #be96f1, #d7b3ee. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Analogous navy, blue and lavender gradient
- Seed: `kUM0G3tcjBVHBwpoIMJA`
- Page: https://grabient.com/kUM0G3tcjBVHBwpoIMJA
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: dark to light, vivid, cool
- Hues: analogous
- Contrast of its darkest and lightest colors: 10 to 1

## Colors

The name most people give each color, and the text color that reads on it with its contrast.

| Stop | Hex | OKLCH | Name | Text on it |
| --- | --- | --- | --- | --- |
| 1 | `#001438` | `oklch(20.10% 0.0757 258.37)` | Navy | white, 18.1 to 1 |
| 2 | `#002273` | `oklch(29.73% 0.1438 262.56)` | Long-Haul Flight | white, 14.2 to 1 |
| 3 | `#2837b8` | `oklch(42.13% 0.1998 269.67)` | Blue Cardinal Flower | white, 9 to 1 |
| 4 | `#5d53dd` | `oklch(53.42% 0.2027 280.24)` | Majorelle Blue | white, 5.5 to 1 |
| 5 | `#9172ef` | `oklch(64.17% 0.1805 291.86)` | Forgotten Purple | black, 5.8 to 1 |
| 6 | `#be96f1` | `oklch(74.41% 0.1338 303.29)` | Bright Lavender | black, 8.8 to 1 |
| 7 | `#d7b3ee` | `oklch(81.89% 0.0896 311.94)` | Pink Illusion | black, 11.6 to 1 |

## CSS

```css
background: linear-gradient(90deg, #001438 0.0%, #002273 16.7%, #2837b8 33.3%, #5d53dd 50.0%, #9172ef 66.7%, #be96f1 83.3%, #d7b3ee 100.0%);
background: linear-gradient(90deg in oklch, oklch(20.10% 0.0757 258.37) 0.0%, oklch(29.73% 0.1438 262.56) 16.7%, oklch(42.13% 0.1998 269.67) 33.3%, oklch(53.42% 0.2027 280.24) 50.0%, oklch(64.17% 0.1805 291.86) 66.7%, oklch(74.41% 0.1338 303.29) 83.3%, oklch(81.89% 0.0896 311.94) 100.0%);
```

## Keyframes

4 OKLCH keyframes joined by a Catmull-Rom spline. Hue is unwrapped degrees.

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.201 | 0.09 | 258 |
| 2 | 0.421 | 0.2 | 269.7 |
| 3 | 0.642 | 0.181 | 291.9 |
| 4 | 0.819 | 0.09 | 311.9 |

## In these collections

- [Blue and purple gradients](https://grabient.com/blue-and-purple-gradients)

## Other forms

- [JSON](https://grabient.com/kUM0G3tcjBVHBwpoIMJA.json)
- [PNG](https://grabient.com/kUM0G3tcjBVHBwpoIMJA.png)
- [SVG](https://grabient.com/kUM0G3tcjBVHBwpoIMJA.svg)
- [CSS](https://grabient.com/kUM0G3tcjBVHBwpoIMJA.css)
- [ASE](https://grabient.com/kUM0G3tcjBVHBwpoIMJA.ase)
- [GPL](https://grabient.com/kUM0G3tcjBVHBwpoIMJA.gpl)
- [GRD](https://grabient.com/kUM0G3tcjBVHBwpoIMJA.grd)
- [Design tokens](https://grabient.com/kUM0G3tcjBVHBwpoIMJA.tokens.json)
- [Social card](https://grabient.com/api/og?seed=kUM0G3tcjBVHBwpoIMJA)
- [Palettes like this one](https://grabient.com/palettes?q=kUM0G3tcjBVHBwpoIMJA)
- [Guide for agents](https://grabient.com/llms.txt)
