# #2B2B71

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

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 | `#2B2B71` |
| RGB | `rgb(43, 43, 113)` |
| HSL | `hsl(240, 45%, 31%)` |
| OKLCH | `oklch(33.4% 0.118 277.9)` |
| CMYK | `cmyk(62%, 62%, 0%, 56%)` |
| HWB | `hwb(240 17% 56%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #2b2b71, #71712b
- **Analogous:** #2b4e71, #2b2b71, #4e2b71
- **Triadic:** #2b2b71, #712b2b, #2b712b
- **Split Complementary:** #2b2b71, #714e2b, #4e712b

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ebeaf2`
- `200`: `#d7d4e4`
- `300`: `#c4c0d7`
- `400`: `#b1abca`
- `500`: `#9e97bd`
- `600`: `#8b84b0`
- `700`: `#7871a3`
- `800`: `#655f97`
- `900`: `#534d8a`
- `950`: `#3f3b7d`

