---
title: "#1F2E51 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #1F2E51 — RGB(31, 46, 81), HSL(222, 45%, 22%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/1f2e51
---
Custom color

# #1F2E51

#

Add to Chrome →

Reference

## Color values

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

Hue

222°

Sat

45%

Light

22%

Shades & tints

CSS variables

CSS

```
/* #1F2E51 */
:root {
  --color--1f2e51: #1F2E51;
  --color--1f2e51-rgb: 31, 46, 81;
  --color--1f2e51-hsl: 222, 45%, 22%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#1F2E51

#51421F

Analogous

#1F4751

#1F2E51

#291F51

Triadic

#1F2E51

#511F2E

#2E511F

Split complementary

#1F2E51

#51291F

#47511F

WCAG contrast

Aa

The quick brown fox.

13.39

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.57

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Cloud Burst

#202E54

Biscay

#1B3162

Chambray

#354E8C

Rhino

#2E3F62

Blue Zodiac

#13264D

Astronaut

#283A77

Cello

#1E385B

Sapphire

#2F519E

Bunting

#151F4C

Bay of Many

#273A81

Big Stone

#162A40

St Tropaz

#2D569B

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
