# #342F7B

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

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 | `#342F7B` |
| RGB | `rgb(52, 47, 123)` |
| HSL | `hsl(244, 45%, 33%)` |
| OKLCH | `oklch(35.8% 0.125 281.0)` |
| CMYK | `cmyk(58%, 62%, 0%, 52%)` |
| HWB | `hwb(244 18% 52%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #342f7b, #767b2f
- **Analogous:** #2f507b, #342f7b, #5a2f7b
- **Triadic:** #342f7b, #7b342f, #2f7b34
- **Split Complementary:** #342f7b, #7b5a2f, #507b2f

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#eceaf3`
- `200`: `#d9d5e6`
- `300`: `#c7c1da`
- `400`: `#b4adce`
- `500`: `#a29ac2`
- `600`: `#9087b6`
- `700`: `#7e74aa`
- `800`: `#6c629e`
- `900`: `#5a5092`
- `950`: `#473f87`

