# #331E85

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

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 | `#331E85` |
| RGB | `rgb(51, 30, 133)` |
| HSL | `hsl(252, 63%, 32%)` |
| OKLCH | `oklch(33.9% 0.160 283.2)` |
| CMYK | `cmyk(62%, 77%, 0%, 48%)` |
| HWB | `hwb(252 12% 48%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #331e85, #70851e
- **Analogous:** #1e3d85, #331e85, #661e85
- **Triadic:** #331e85, #85331e, #1e8533
- **Split Complementary:** #331e85, #85661e, #3d851e

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ede9f4`
- `200`: `#dbd2e9`
- `300`: `#c9bdde`
- `400`: `#b7a7d3`
- `500`: `#a592c8`
- `600`: `#937ebd`
- `700`: `#816ab1`
- `800`: `#6f56a6`
- `900`: `#5c439b`
- `950`: `#483190`

