---
title: "#1F2041 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #1F2041 — RGB(31, 32, 65), HSL(238, 35%, 19%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/1f2041
---
Custom color

# #1F2041

#

Add to Chrome →

Reference

## Color values

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

Hue

238°

Sat

35%

Light

19%

Shades & tints

CSS variables

CSS

```
/* #1F2041 */
:root {
  --color--1f2041: #1F2041;
  --color--1f2041-rgb: 31, 32, 65;
  --color--1f2041-hsl: 238, 35%, 19%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#1F2041

#41401F

Analogous

#1F3241

#1F2041

#2F1F41

Triadic

#1F2041

#411F21

#21411F

Split complementary

#1F2041

#412F1F

#32411F

WCAG contrast

Aa

The quick brown fox.

15.66

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.34

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Ebony Clay

#26283B

Charade

#292937

Cinder

#0E0E18

Mirage

#161928

Vulcan

#10121D

Ebony

#0C0B1D

Port Gore

#251F4F

Tuna

#353542

Gun Powder

#414257

Lucky Point

#1A1A68

East Bay

#414C7D

Bunting

#151F4C

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
