# #2C187E

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

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 | `#2C187E` |
| RGB | `rgb(44, 24, 126)` |
| HSL | `hsl(252, 68%, 29%)` |
| OKLCH | `oklch(31.7% 0.158 281.5)` |
| CMYK | `cmyk(65%, 81%, 0%, 51%)` |
| HWB | `hwb(252 9% 51%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #2c187e, #6a7e18
- **Analogous:** #18377e, #2c187e, #5f187e
- **Triadic:** #2c187e, #7e2c18, #187e2c
- **Split Complementary:** #2c187e, #7e5f18, #377e18

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ece8f3`
- `200`: `#d9d1e7`
- `300`: `#c7bbdc`
- `400`: `#b4a5d0`
- `500`: `#a28fc4`
- `600`: `#8f7ab9`
- `700`: `#7d66ad`
- `800`: `#6a52a1`
- `900`: `#573e95`
- `950`: `#432b8a`

