# #312E8D

> Source: [https://colors.to/312e8d](https://colors.to/312e8d)

A medium-dark, rich shade of blue. This cool color works well for professional interfaces and tech products.

Also known as: **Midnight**

## Color Values

| Format | Value |
|---|---|
| HEX | `#312E8D` |
| RGB | `rgb(49, 46, 141)` |
| HSL | `hsl(242, 51%, 37%)` |
| OKLCH | `oklch(37.0% 0.152 277.3)` |
| CMYK | `cmyk(65%, 67%, 0%, 45%)` |
| HWB | `hwb(242 18% 45%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #312e8d, #8a8d2e
- **Analogous:** #2e5a8d, #312e8d, #612e8d
- **Triadic:** #312e8d, #8d312e, #2e8d31
- **Split Complementary:** #312e8d, #8d612e, #5a8d2e

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#edeaf5`
- `200`: `#dad5ea`
- `300`: `#c8c1e0`
- `400`: `#b6add6`
- `500`: `#a49acb`
- `600`: `#9286c1`
- `700`: `#8074b7`
- `800`: `#6e61ac`
- `900`: `#5b50a2`
- `950`: `#473f97`

