# #331F7C

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

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 | `#331F7C` |
| RGB | `rgb(51, 31, 124)` |
| HSL | `hsl(253, 60%, 30%)` |
| OKLCH | `oklch(33.1% 0.147 284.9)` |
| CMYK | `cmyk(59%, 75%, 0%, 51%)` |
| HWB | `hwb(253 12% 51%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #331f7c, #687c1f
- **Analogous:** #1f397c, #331f7c, #621f7c
- **Triadic:** #331f7c, #7c331f, #1f7c33
- **Split Complementary:** #331f7c, #7c621f, #397c1f

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ece9f3`
- `200`: `#dad2e7`
- `300`: `#c8bddb`
- `400`: `#b5a7cf`
- `500`: `#a392c3`
- `600`: `#917eb7`
- `700`: `#7f6aab`
- `800`: `#6d579f`
- `900`: `#5b4494`
- `950`: `#473188`

