# #31317C

> Source: [https://colors.to/31317c](https://colors.to/31317c)

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 | `#31317C` |
| RGB | `rgb(49, 49, 124)` |
| HSL | `hsl(240, 43%, 34%)` |
| OKLCH | `oklch(36.0% 0.124 278.2)` |
| CMYK | `cmyk(60%, 60%, 0%, 51%)` |
| HWB | `hwb(240 19% 51%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #31317c, #7c7c31
- **Analogous:** #31567c, #31317c, #56317c
- **Triadic:** #31317c, #7c3131, #317c31
- **Split Complementary:** #31317c, #7c5631, #567c31

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#eceaf3`
- `200`: `#d9d6e7`
- `300`: `#c6c2db`
- `400`: `#b4aecf`
- `500`: `#a19bc3`
- `600`: `#8f88b7`
- `700`: `#7d75ab`
- `800`: `#6a639f`
- `900`: `#585293`
- `950`: `#454188`

