# Midnight black to indigo

Monochrome black and blue color palette with 4 colors: #090521, #180a4a, #2e167e, #4424ab. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Monochrome black and blue color palette
- Seed: `kSJSvKIjE_zNHwA`
- Page: https://grabient.com/kSJSvKIjE_zNHwA?style=linearSwatches&steps=4
- Drawn as: linear swatches, 4 steps, 90 degrees
- Kinds: vivid, dark, cool, monochrome
- Hues: monochromatic
- Contrast of its darkest and lightest colors: 1.9 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 | `#090521` | `oklch(14.57% 0.0593 284.06)` | Election Night | white, 19.9 to 1 |
| 2 | `#180a4a` | `oklch(22.16% 0.1080 283.24)` | Magic Whale | white, 17.7 to 1 |
| 3 | `#2e167e` | `oklch(31.64% 0.1590 283.24)` | Persian Indigo | white, 13.7 to 1 |
| 4 | `#4424ab` | `oklch(40.16% 0.1970 284.06)` | Indigo Blue | white, 10 to 1 |

## CSS

```css
background: linear-gradient(90deg, #090521 0.000% 25.000%, #180a4a 25.000% 50.000%, #2e167e 50.000% 75.000%, #4424ab 75.000% 100.000%);
background: linear-gradient(90deg, oklch(14.57% 0.0593 284.06) 0.000% 25.000%, oklch(22.16% 0.1080 283.24) 25.000% 50.000%, oklch(31.64% 0.1590 283.24) 50.000% 75.000%, oklch(40.16% 0.1970 284.06) 75.000% 100.000%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.146 | 0.059 | 284.1 |
| 2 | 0.268 | 0.135 | 283 |
| 3 | 0.402 | 0.197 | 284.1 |

## In these collections

- [Jewel tone color palette](https://grabient.com/jewel-tone-swatches)
- [Indigo color palette](https://grabient.com/indigo-swatches)
- [Cool color palette](https://grabient.com/cool-swatches)

## Other forms

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