# #2F1978

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

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 | `#2F1978` |
| RGB | `rgb(47, 25, 120)` |
| HSL | `hsl(254, 66%, 28%)` |
| OKLCH | `oklch(31.5% 0.149 284.5)` |
| CMYK | `cmyk(61%, 79%, 0%, 53%)` |
| HWB | `hwb(254 10% 53%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #2f1978, #627819
- **Analogous:** #193278, #2f1978, #5f1978
- **Triadic:** #2f1978, #782f19, #19782f
- **Split Complementary:** #2f1978, #785f19, #327819

## 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`: `#d9d1e6`
- `300`: `#c7bbda`
- `400`: `#b4a5cd`
- `500`: `#a290c1`
- `600`: `#8f7bb5`
- `700`: `#7d66a9`
- `800`: `#6a529c`
- `900`: `#583f90`
- `950`: `#442c84`

