# #331F8E

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

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 | `#331F8E` |
| RGB | `rgb(51, 31, 142)` |
| HSL | `hsl(251, 64%, 34%)` |
| OKLCH | `oklch(35.0% 0.170 281.3)` |
| CMYK | `cmyk(64%, 78%, 0%, 44%)` |
| HWB | `hwb(251 12% 44%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #331f8e, #7a8e1f
- **Analogous:** #1f428e, #331f8e, #6b1f8e
- **Triadic:** #331f8e, #8e331f, #1f8e33
- **Split Complementary:** #331f8e, #8e6b1f, #428e1f

## 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`: `#947fc2`
- `700`: `#826bb8`
- `800`: `#7057ad`
- `900`: `#5d44a3`
- `950`: `#493298`

