# #331E8E

> Source: [https://colors.to/331e8e](https://colors.to/331e8e)

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 | `#331E8E` |
| RGB | `rgb(51, 30, 142)` |
| HSL | `hsl(251, 65%, 34%)` |
| OKLCH | `oklch(34.8% 0.171 281.4)` |
| CMYK | `cmyk(64%, 79%, 0%, 44%)` |
| HWB | `hwb(251 12% 44%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #331e8e, #798e1e
- **Analogous:** #1e418e, #331e8e, #6b1e8e
- **Triadic:** #331e8e, #8e331e, #1e8e33
- **Split Complementary:** #331e8e, #8e6b1e, #418e1e

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ede9f5`
- `200`: `#dbd3eb`
- `300`: `#cabde1`
- `400`: `#b8a8d6`
- `500`: `#a693cc`
- `600`: `#947ec2`
- `700`: `#826ab8`
- `800`: `#7057ad`
- `900`: `#5d44a3`
- `950`: `#493198`

