# Midnight to cobalt blue

Monochrome navy to blue gradient with 7 colors: #01091a, #011231, #031e55, #01307e, #005597, #007fb3, #009ec8. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Monochrome navy to blue gradient
- Seed: `kSJB21qzNAlLMO8`
- Page: https://grabient.com/kSJB21qzNAlLMO8
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: dark to light, vivid, dark, cool, monochrome
- Hues: analogous
- Contrast of its darkest and lightest colors: 6.3 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 | `#01091a` | `oklch(14.17% 0.0400 255.23)` | Melanophobia | white, 19.8 to 1 |
| 2 | `#011231` | `oklch(18.85% 0.0672 258.09)` | Squid’s Ink | white, 18.5 to 1 |
| 3 | `#031e55` | `oklch(25.72% 0.1056 261.54)` | Clarinet | white, 15.9 to 1 |
| 4 | `#01307e` | `oklch(33.86% 0.1406 260.52)` | Below the Surface | white, 12.1 to 1 |
| 5 | `#005597` | `oklch(44.54% 0.1281 250.61)` | Standing Waters | white, 7.6 to 1 |
| 6 | `#007fb3` | `oklch(56.48% 0.1218 236.19)` | Capstan | black, 4.6 to 1 |
| 7 | `#009ec8` | `oklch(64.96% 0.1238 225.66)` | Blue Ocean | black, 6.6 to 1 |

## CSS

```css
background: linear-gradient(90deg, #01091a 0.0%, #011231 16.7%, #031e55 33.3%, #01307e 50.0%, #005597 66.7%, #007fb3 83.3%, #009ec8 100.0%);
background: linear-gradient(90deg in oklch, oklch(14.17% 0.0400 255.23) 0.0%, oklch(18.85% 0.0672 258.09) 16.7%, oklch(25.72% 0.1056 261.54) 33.3%, oklch(33.86% 0.1406 260.52) 50.0%, oklch(44.54% 0.1281 250.61) 66.7%, oklch(56.48% 0.1218 236.19) 83.3%, oklch(64.96% 0.1238 225.66) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.142 | 0.04 | 255.2 |
| 2 | 0.339 | 0.141 | 260.5 |
| 3 | 0.65 | 0.209 | 225.6 |

## In these collections

- [Cyberpunk gradients](https://grabient.com/cyberpunk-gradients)
- [Synthwave gradients](https://grabient.com/synthwave-gradients)

## Other forms

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