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

# #021540

#

Add to Chrome →

Reference

## Color values

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

Hue

222°

Sat

94%

Light

13%

Shades & tints

CSS variables

CSS

```
/* #021540 */
:root {
  --color--021540: #021540;
  --color--021540-rgb: 2, 21, 64;
  --color--021540-hsl: 222, 94%, 13%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#021540

#402E02

Analogous

#023440

#021540

#0E0240

Triadic

#021540

#400215

#154002

Split complementary

#021540

#400E02

#344002

WCAG contrast

Aa

The quick brown fox.

17.74

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.18

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Tangaroa

#03163C

Midnight

#011635

Deep Sapphire

#082567

Catalina Blue

#062A78

Downriver

#092256

Gulf Blue

#051657

Resolution Blue

#002387

Deep Cove

#051040

Madison

#09255D

Smalt

#003399

International Klein Blue

#002FA7

Green Vogue

#032B52

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
