---
title: "#021C8D Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #021C8D — RGB(2, 28, 141), HSL(229, 97%, 28%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/021c8d
---
Custom color

# #021C8D

#

Add to Chrome →

Reference

## Color values

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

Hue

229°

Sat

97%

Light

28%

Shades & tints

CSS variables

CSS

```
/* #021C8D */
:root {
  --color--021c8d: #021C8D;
  --color--021c8d-rgb: 2, 28, 141;
  --color--021c8d-hsl: 229, 97%, 28%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#021C8D

#8D7302

Analogous

#02618D

#021C8D

#2E028D

Triadic

#021C8D

#8D021C

#1C8D02

Split complementary

#021C8D

#8D2E02

#618D02

WCAG contrast

Aa

The quick brown fox.

13.52

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.55

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Resolution Blue

#002387

International Klein Blue

#002FA7

Gulf Blue

#051657

Smalt

#003399

Torea Bay

#0F2D9E

Deep Cove

#051040

Catalina Blue

#062A78

Navy Blue

#000080

Stratos

#000741

Deep Sapphire

#082567

Dark Blue

#0000C8

Cobalt

#0047AB

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
