---
title: "#0C0222 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #0C0222 — RGB(12, 2, 34), HSL(259, 89%, 7%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/0c0222
---
Custom color

# #0C0222

#

Add to Chrome →

Reference

## Color values

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

Hue

259°

Sat

89%

Light

7%

Shades & tints

CSS variables

CSS

```
/* #0C0222 */
:root {
  --color--0c0222: #0C0222;
  --color--0c0222-rgb: 12, 2, 34;
  --color--0c0222-hsl: 259, 89%, 7%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#0C0222

#182202

Analogous

#020822

#0C0222

#1C0222

Triadic

#0C0222

#220C02

#02220C

Split complementary

#0C0222

#221C02

#082202

WCAG contrast

Aa

The quick brown fox.

20.05

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.05

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Black Rock

#0D0332

Black Russian

#0A001C

Tolopea

#1B0245

Paris M

#26056A

Jaguar

#080110

Paua

#260368

Deep Blue

#220878

Violent Violet

#290C5E

Cherry Pie

#2A0359

Persian Indigo

#32127A

Windsor

#3C0878

Christalle

#33036B

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
