---
title: "#2A1FA8 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #2A1FA8 — RGB(42, 31, 168), HSL(245, 69%, 39%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/2a1fa8
---
Custom color

# #2A1FA8

#

Add to Chrome →

Reference

## Color values

Every format for this color — click any value to copy it.

Hue

245°

Sat

69%

Light

39%

Shades & tints

CSS variables

CSS

```
/* #2A1FA8 */
:root {
  --color--2a1fa8: #2A1FA8;
  --color--2a1fa8-rgb: 42, 31, 168;
  --color--2a1fa8-hsl: 245, 69%, 39%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#2A1FA8

#9DA81F

Analogous

#1F58A8

#2A1FA8

#6F1FA8

Triadic

#2A1FA8

#A82A1F

#1FA82A

Split complementary

#2A1FA8

#A86F1F

#58A81F

WCAG contrast

Aa

The quick brown fox.

11.29

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.86

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Deep Koamaru

#1B127B

Jacksons Purple

#20208D

Ultramarine

#120A8F

Arapawa

#110C6C

Lucky Point

#1A1A68

Governor Bay

#2F3CB3

Persian Blue

#1C39BB

Blue Gem

#2C0E8C

Dark Blue

#0000C8

Minsk

#3F307F

Persian Indigo

#32127A

Daisy Bush

#4F2398

Free to install

## Pick this color from any page. Use SuperDev Pro’s eyedropper, contrast checker and 50+ dev tools right inside your browser.

Add to Chrome

Browse all colors

Free to install · No account · Works on Chrome & Firefox
