---
title: "#040B58 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #040B58 — RGB(4, 11, 88), HSL(235, 91%, 18%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/040b58
---
Custom color

# #040B58

#

Add to Chrome →

Reference

## Color values

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

Hue

235°

Sat

91%

Light

18%

Shades & tints

CSS variables

CSS

```
/* #040B58 */
:root {
  --color--040b58: #040B58;
  --color--040b58-rgb: 4, 11, 88;
  --color--040b58-hsl: 235, 91%, 18%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#040B58

#585104

Analogous

#043558

#040B58

#270458

Triadic

#040B58

#58040B

#0B5804

Split complementary

#040B58

#582704

#355804

WCAG contrast

Aa

The quick brown fox.

17.59

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.19

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Stratos

#000741

Gulf Blue

#051657

Deep Cove

#051040

Navy Blue

#000080

Arapawa

#110C6C

Ultramarine

#120A8F

Deep Sapphire

#082567

Catalina Blue

#062A78

Tangaroa

#03163C

Resolution Blue

#002387

Downriver

#092256

Dark Blue

#0000C8

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
