# Midnight navy to sapphire

Monochrome navy to blue gradient with 4 colors: #0d0921, #1f1d56, #243589, #20539b. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Monochrome navy to blue gradient
- Seed: `kUKSTLoqS_C8zPs5Lz6A`
- Page: https://grabient.com/kUKSTLoqS_C8zPs5Lz6A?steps=4&angle=135
- Drawn as: linear gradient, 4 steps, 135 degrees
- Kinds: dark, cool, monochrome
- Hues: monochromatic
- Contrast of its darkest and lightest colors: 2.5 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 | `#0d0921` | `oklch(16.14% 0.0496 286.17)` | Tristesse | white, 19.4 to 1 |
| 2 | `#1f1d56` | `oklch(27.17% 0.1006 278.77)` | Spacescape | white, 15.3 to 1 |
| 3 | `#243589` | `oklch(37.01% 0.1406 269.26)` | Intergalactic Highway | white, 10.8 to 1 |
| 4 | `#20539b` | `oklch(44.88% 0.1295 257.64)` | Summer Waters | white, 7.5 to 1 |

## CSS

```css
background: linear-gradient(135deg, #0d0921 0.0%, #1f1d56 33.3%, #243589 66.7%, #20539b 100.0%);
background: linear-gradient(135deg in oklch, oklch(16.14% 0.0496 286.17) 0.0%, oklch(27.17% 0.1006 278.77) 33.3%, oklch(37.01% 0.1406 269.26) 66.7%, oklch(44.88% 0.1295 257.64) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.161 | 0.05 | 286.2 |
| 2 | 0.272 | 0.101 | 278.8 |
| 3 | 0.37 | 0.141 | 269.3 |
| 4 | 0.449 | 0.13 | 257.6 |

## In these collections

- [Night sky gradients](https://grabient.com/night-sky-gradients)
- [Galaxy gradients](https://grabient.com/galaxy-gradients)

## Other forms

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