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

# #040A4E

#

Add to Chrome →

Reference

## Color values

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

Hue

235°

Sat

90%

Light

16%

Shades & tints

CSS variables

CSS

```
/* #040A4E */
:root {
  --color--040a4e: #040A4E;
  --color--040a4e-rgb: 4, 10, 78;
  --color--040a4e-hsl: 235, 90%, 16%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#040A4E

#4E4704

Analogous

#042F4E

#040A4E

#23044E

Triadic

#040A4E

#4E040A

#0A4E04

Split complementary

#040A4E

#4E2304

#2F4E04

WCAG contrast

Aa

The quick brown fox.

18.13

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

Arapawa

#110C6C

Ultramarine

#120A8F

Deep Sapphire

#082567

Catalina Blue

#062A78

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
