# #212151

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

A 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 | `#212151` |
| RGB | `rgb(33, 33, 81)` |
| HSL | `hsl(240, 42%, 22%)` |
| OKLCH | `oklch(27.8% 0.086 279.3)` |
| CMYK | `cmyk(59%, 59%, 0%, 68%)` |
| HWB | `hwb(240 13% 68%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #212151, #515121
- **Analogous:** #213951, #212151, #392151
- **Triadic:** #212151, #512121, #215121
- **Split Complementary:** #212151, #513921, #395121

## Nearest Pantone Matches

- **Black C** (#2D2926, 90% match)
- **Reflex Blue C** (#001489, 85% match)
- **Cool Gray 11 C** (#53565A, 83% match)

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#e9e8ee`
- `200`: `#d4d2dd`
- `300`: `#bfbccd`
- `400`: `#aaa6bd`
- `500`: `#9692ad`
- `600`: `#817d9d`
- `700`: `#6e698d`
- `800`: `#5a567e`
- `900`: `#47446e`
- `950`: `#343260`

