---
title: "#021340 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #021340 — RGB(2, 19, 64), HSL(224, 94%, 13%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/021340
---
Custom color

# #021340

#

Add to Chrome →

Reference

## Color values

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

Hue

224°

Sat

94%

Light

13%

Shades & tints

CSS variables

CSS

```
/* #021340 */
:root {
  --color--021340: #021340;
  --color--021340-rgb: 2, 19, 64;
  --color--021340-hsl: 224, 94%, 13%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#021340

#403002

Analogous

#023240

#021340

#110240

Triadic

#021340

#400213

#134002

Split complementary

#021340

#401102

#324002

WCAG contrast

Aa

The quick brown fox.

17.95

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.17

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Tangaroa

#03163C

Gulf Blue

#051657

Resolution Blue

#002387

Deep Cove

#051040

Midnight

#011635

Deep Sapphire

#082567

Catalina Blue

#062A78

Downriver

#092256

Stratos

#000741

Madison

#09255D

International Klein Blue

#002FA7

Smalt

#003399

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
