# Cobalt to midnight navy

Monochrome blue to navy gradient with 4 colors: #3172a2, #144f7d, #052c4d, #041223. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Monochrome blue to navy gradient
- Seed: `kSh0mtrKDAZcOwG`
- Page: https://grabient.com/kSh0mtrKDAZcOwG?steps=4&angle=180
- Drawn as: linear gradient, 4 steps, 180 degrees
- Kinds: light to dark, vivid, dark, cool, monochrome
- Hues: monochromatic
- Contrast of its darkest and lightest colors: 3.6 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 | `#3172a2` | `oklch(53.15% 0.1006 243.98)` | Vallarta Blue | white, 5.1 to 1 |
| 2 | `#144f7d` | `oklch(41.66% 0.0965 246.65)` | China Seas | white, 8.5 to 1 |
| 3 | `#052c4d` | `oklch(28.68% 0.0741 249.78)` | Royal Blue Metallic | white, 14.2 to 1 |
| 4 | `#041223` | `oklch(18.11% 0.0400 252.44)` | Kuretake Black Manga | white, 18.7 to 1 |

## CSS

```css
background: linear-gradient(180deg, #3172a2 0.0%, #144f7d 33.3%, #052c4d 66.7%, #041223 100.0%);
background: linear-gradient(180deg in oklch, oklch(53.15% 0.1006 243.98) 0.0%, oklch(41.66% 0.0965 246.65) 33.3%, oklch(28.68% 0.0741 249.78) 66.7%, oklch(18.11% 0.0400 252.44) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.531 | 0.101 | 244 |
| 2 | 0.35 | 0.09 | 248.2 |
| 3 | 0.181 | 0.04 | 252.4 |

## In these collections

- [Navy blue color palette](https://grabient.com/navy-swatches)
- [Monochrome blue gradients](https://grabient.com/monochrome-blue-gradients)

## Other forms

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