# #31337E

> Source: [https://colors.to/31337e](https://colors.to/31337e)

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 | `#31337E` |
| RGB | `rgb(49, 51, 126)` |
| HSL | `hsl(238, 44%, 34%)` |
| OKLCH | `oklch(36.6% 0.124 277.2)` |
| CMYK | `cmyk(61%, 60%, 0%, 51%)` |
| HWB | `hwb(238 19% 51%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #31347e, #7e7b31
- **Analogous:** #315a7e, #31347e, #55317e
- **Triadic:** #31347e, #7e3134, #347e31
- **Split Complementary:** #31347e, #7e5531, #5a7e31

## Nearest Pantone Matches

- **Reflex Blue C** (#001489, 87% match)
- **Cool Gray 11 C** (#53565A, 86% match)
- **Violet C** (#440099, 86% match)

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#eceaf3`
- `200`: `#d9d6e7`
- `300`: `#c6c2db`
- `400`: `#b4afcf`
- `500`: `#a19cc4`
- `600`: `#8f89b8`
- `700`: `#7d77ac`
- `800`: `#6a65a1`
- `900`: `#585495`
- `950`: `#454389`

