---
title: "#040B4E Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #040B4E — RGB(4, 11, 78), HSL(234, 90%, 16%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/040b4e
---
Custom color

# #040B4E

#

Add to Chrome →

Reference

## Color values

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

Hue

234°

Sat

90%

Light

16%

Shades & tints

CSS variables

CSS

```
/* #040B4E */
:root {
  --color--040b4e: #040B4E;
  --color--040b4e-rgb: 4, 11, 78;
  --color--040b4e-hsl: 234, 90%, 16%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#040B4E

#4E4604

Analogous

#04304E

#040B4E

#21044E

Triadic

#040B4E

#4E040B

#0B4E04

Split complementary

#040B4E

#4E2104

#304E04

WCAG contrast

Aa

The quick brown fox.

18.06

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.16

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Stratos

#000741

Gulf Blue

#051657

Deep Cove

#051040

Navy Blue

#000080

Tangaroa

#03163C

Deep Sapphire

#082567

Catalina Blue

#062A78

Arapawa

#110C6C

Ultramarine

#120A8F

Downriver

#092256

Torea Bay

#0F2D9E

Resolution Blue

#002387

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
