# #2E1F7D

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

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 | `#2E1F7D` |
| RGB | `rgb(46, 31, 125)` |
| HSL | `hsl(250, 60%, 31%)` |
| OKLCH | `oklch(32.7% 0.149 281.6)` |
| CMYK | `cmyk(63%, 75%, 0%, 51%)` |
| HWB | `hwb(250 12% 51%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #2f1f7d, #6d7d1f
- **Analogous:** #1f3e7d, #2f1f7d, #5e1f7d
- **Triadic:** #2f1f7d, #7d2f1f, #1f7d2f
- **Split Complementary:** #2f1f7d, #7d5e1f, #3e7d1f

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ece8f3`
- `200`: `#d9d2e7`
- `300`: `#c7bcdb`
- `400`: `#b4a7cf`
- `500`: `#a292c4`
- `600`: `#8f7eb8`
- `700`: `#7d6aac`
- `800`: `#6a56a0`
- `900`: `#574394`
- `950`: `#443189`

