# #2D1872

> Source: [https://colors.to/2d1872](https://colors.to/2d1872)

A medium-dark, rich shade of indigo. This cool color works well for professional interfaces and tech products.

Also known as: **Midnight**

## Color Values

| Format | Value |
|---|---|
| HEX | `#2D1872` |
| RGB | `rgb(45, 24, 114)` |
| HSL | `hsl(254, 65%, 27%)` |
| OKLCH | `oklch(30.5% 0.143 284.8)` |
| CMYK | `cmyk(61%, 79%, 0%, 55%)` |
| HWB | `hwb(254 9% 55%)` |

## WCAG 2.1 Accessibility

- **Recommended text color:** White (`#ffffff`)
- **White text contrast:** 14.13:1 (AA Normal: Pass, AAA: Pass)
- **Black text contrast:** 1.48:1 (AA Normal: Fail, AAA: Fail)

## Harmonies

- **Complementary:** #2d1872, #5d7218
- **Analogous:** #183072, #2d1872, #5a1872
- **Triadic:** #2d1872, #722d18, #18722d
- **Split Complementary:** #2d1872, #725a18, #307218

## Nearest Pantone Matches

- **Reflex Blue C** (#001489, 89% match)
- **Violet C** (#440099, 88% match)
- **Blue 072 C** (#10069F, 87% match)

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ece8f2`
- `200`: `#d9d1e5`
- `300`: `#c6bad8`
- `400`: `#b3a4cb`
- `500`: `#a08fbe`
- `600`: `#8e7ab1`
- `700`: `#7b65a5`
- `800`: `#685198`
- `900`: `#553e8b`
- `950`: `#422b7f`

