---
title: "#1F1F5C Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #1F1F5C — RGB(31, 31, 92), HSL(240, 50%, 24%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/1f1f5c
---
Custom color

# #1F1F5C

#

Add to Chrome →

Reference

## Color values

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

Hue

240°

Sat

50%

Light

24%

Shades & tints

CSS variables

CSS

```
/* #1F1F5C */
:root {
  --color--1f1f5c: #1F1F5C;
  --color--1f1f5c-rgb: 31, 31, 92;
  --color--1f1f5c-hsl: 240, 50%, 24%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#1F1F5C

#5C5C1F

Analogous

#1F3D5C

#1F1F5C

#3D1F5C

Triadic

#1F1F5C

#5C1F1F

#1F5C1F

Split complementary

#1F1F5C

#5C3D1F

#3D5C1F

WCAG contrast

Aa

The quick brown fox.

14.91

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.41

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Lucky Point

#1A1A68

Jacksons Purple

#20208D

Port Gore

#251F4F

Ebony

#0C0B1D

Bunting

#151F4C

Astronaut

#283A77

Arapawa

#110C6C

Minsk

#3F307F

Deep Koamaru

#1B127B

Cloud Burst

#202E54

Bay of Many

#273A81

Charade

#292937

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
