---
title: "#002842 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #002842 — RGB(0, 40, 66), HSL(204, 100%, 13%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/002842
---
Custom color

# #002842

#

Add to Chrome →

Reference

## Color values

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

Hue

204°

Sat

100%

Light

13%

Shades & tints

CSS variables

CSS

```
/* #002842 */
:root {
  --color--002842: #002842;
  --color--002842-rgb: 0, 40, 66;
  --color--002842-hsl: 204, 100%, 13%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#002842

#421B00

Analogous

#00423C

#002842

#000742

Triadic

#002842

#420028

#284200

Split complementary

#002842

#420007

#423C00

WCAG contrast

Aa

The quick brown fox.

15.19

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.38

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Prussian Blue

#003153

Astronaut Blue

#013E62

Regal Blue

#013F6A

Blue Whale

#042E4C

Midnight Blue

#003366

Green Vogue

#032B52

Orient

#015E85

Venice Blue

#055989

Bahama Blue

#026395

Blue Charcoal

#010D1A

Daintree

#012731

Endeavour

#0056A7

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
