# #2F2871

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

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 | `#2F2871` |
| RGB | `rgb(47, 40, 113)` |
| HSL | `hsl(246, 48%, 30%)` |
| OKLCH | `oklch(33.2% 0.121 281.9)` |
| CMYK | `cmyk(58%, 65%, 0%, 56%)` |
| HWB | `hwb(246 16% 56%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #2f2871, #6a7128
- **Analogous:** #284571, #2f2871, #542871
- **Triadic:** #2f2871, #712f28, #28712f
- **Split Complementary:** #2f2871, #715428, #457128

## 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`: `#ebe9f2`
- `200`: `#d8d4e4`
- `300`: `#c5bfd7`
- `400`: `#b2aaca`
- `500`: `#9f96bd`
- `600`: `#8d82b0`
- `700`: `#7a6fa3`
- `800`: `#685c97`
- `900`: `#564a8a`
- `950`: `#43397d`

