---
title: "#040A1B Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #040A1B — RGB(4, 10, 27), HSL(224, 74%, 6%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/040a1b
---
Custom color

# #040A1B

#

Add to Chrome →

Reference

## Color values

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

Hue

224°

Sat

74%

Light

6%

Shades & tints

CSS variables

CSS

```
/* #040A1B */
:root {
  --color--040a1b: #040A1B;
  --color--040a1b-rgb: 4, 10, 27;
  --color--040a1b-hsl: 224, 74%, 6%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#040A1B

#1B1504

Analogous

#04151B

#040A1B

#09041B

Triadic

#040A1B

#1B040A

#0A1B04

Split complementary

#040A1B

#1B0904

#151B04

WCAG contrast

Aa

The quick brown fox.

19.73

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.06

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Downriver

#092256

Tangaroa

#03163C

Deep Cove

#051040

Madison

#09255D

Deep Sapphire

#082567

Black Pearl

#041322

Gulf Blue

#051657

Blue Zodiac

#13264D

Bunting

#151F4C

Catalina Blue

#062A78

Biscay

#1B3162

Midnight

#011635

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
