# #1F1998

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

A medium-dark, vivid shade of blue. This cool color works well for professional interfaces and tech products.

Also known as: **Midnight**

## Color Values

| Format | Value |
|---|---|
| HEX | `#1F1998` |
| RGB | `rgb(31, 25, 152)` |
| HSL | `hsl(243, 72%, 35%)` |
| OKLCH | `oklch(33.9% 0.192 271.6)` |
| CMYK | `cmyk(80%, 84%, 0%, 40%)` |
| HWB | `hwb(243 10% 40%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #1f1998, #929819
- **Analogous:** #195298, #1f1998, #5f1998
- **Triadic:** #1f1998, #981f19, #19981f
- **Split Complementary:** #1f1998, #985f19, #529819

## Nearest Pantone Matches

- **Blue 072 C** (#10069F, 94% match)
- **Reflex Blue C** (#001489, 92% match)
- **Violet C** (#440099, 90% match)

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ede8f6`
- `200`: `#dad2ed`
- `300`: `#c8bbe4`
- `400`: `#b6a6db`
- `500`: `#a390d1`
- `600`: `#917cc8`
- `700`: `#7e67bf`
- `800`: `#6a53b5`
- `900`: `#5540ab`
- `950`: `#3e2ca2`

