# #312E8A

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

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

Also known as: **Midnight**

## Color Values

| Format | Value |
|---|---|
| HEX | `#312E8A` |
| RGB | `rgb(49, 46, 138)` |
| HSL | `hsl(242, 50%, 36%)` |
| OKLCH | `oklch(36.7% 0.148 277.7)` |
| CMYK | `cmyk(64%, 67%, 0%, 46%)` |
| HWB | `hwb(242 18% 46%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #312e8a, #878a2e
- **Analogous:** #2e598a, #312e8a, #5f2e8a
- **Triadic:** #312e8a, #8a312e, #2e8a31
- **Split Complementary:** #312e8a, #8a5f2e, #598a2e

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#eceaf4`
- `200`: `#dad5ea`
- `300`: `#c8c1df`
- `400`: `#b6add4`
- `500`: `#a499ca`
- `600`: `#9186bf`
- `700`: `#7f74b5`
- `800`: `#6d61aa`
- `900`: `#5a509f`
- `950`: `#473f95`

