# #2E1F71

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

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 | `#2E1F71` |
| RGB | `rgb(46, 31, 113)` |
| HSL | `hsl(251, 57%, 28%)` |
| OKLCH | `oklch(31.5% 0.133 284.1)` |
| CMYK | `cmyk(59%, 73%, 0%, 56%)` |
| HWB | `hwb(251 12% 56%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #2e1f71, #62711f
- **Analogous:** #1f3971, #2e1f71, #571f71
- **Triadic:** #2e1f71, #712e1f, #1f712e
- **Split Complementary:** #2e1f71, #71571f, #39711f

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ece8f2`
- `200`: `#d8d2e5`
- `300`: `#c5bcd7`
- `400`: `#b2a7ca`
- `500`: `#a092bd`
- `600`: `#8d7db1`
- `700`: `#7b69a4`
- `800`: `#685697`
- `900`: `#55438a`
- `950`: `#42317e`

