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

# #0000CC

#

Add to Chrome →

Reference

## Color values

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

Hue

240°

Sat

100%

Light

40%

Shades & tints

CSS variables

CSS

```
/* #0000CC */
:root {
  --color--0000cc: #0000CC;
  --color--0000cc-rgb: 0, 0, 204;
  --color--0000cc-hsl: 240, 100%, 40%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#0000CC

#CCCC00

Analogous

#0066CC

#0000CC

#6600CC

Triadic

#0000CC

#CC0000

#00CC00

Split complementary

#0000CC

#CC6600

#66CC00

WCAG contrast

Aa

The quick brown fox.

11.22

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.87

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Dark Blue

#0000C8

Blue

#0000FF

Navy Blue

#000080

Ultramarine

#120A8F

Stratos

#000741

International Klein Blue

#002FA7

Arapawa

#110C6C

Jacksons Purple

#20208D

Resolution Blue

#002387

Deep Koamaru

#1B127B

Torea Bay

#0F2D9E

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
