# #271A5B

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

A 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 | `#271A5B` |
| RGB | `rgb(39, 26, 91)` |
| HSL | `hsl(252, 56%, 23%)` |
| OKLCH | `oklch(27.9% 0.110 286.0)` |
| CMYK | `cmyk(57%, 71%, 0%, 64%)` |
| HWB | `hwb(252 10% 64%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #271a5b, #4e5b1a
- **Analogous:** #1a2e5b, #271a5b, #481a5b
- **Triadic:** #271a5b, #5b271a, #1a5b27
- **Split Complementary:** #271a5b, #5b481a, #2e5b1a

## Nearest Pantone Matches

- **Black C** (#2D2926, 87% match)
- **Reflex Blue C** (#001489, 86% match)
- **222 C** (#6C1D45, 84% match)

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#eae8ef`
- `200`: `#d6d1e0`
- `300`: `#c2bad0`
- `400`: `#aea4c1`
- `500`: `#9a8eb2`
- `600`: `#8779a3`
- `700`: `#746594`
- `800`: `#615186`
- `900`: `#4e3e77`
- `950`: `#3b2c69`

