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

# #1F3151

#

Add to Chrome →

Reference

## Color values

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

Hue

218°

Sat

45%

Light

22%

Shades & tints

CSS variables

CSS

```
/* #1F3151 */
:root {
  --color--1f3151: #1F3151;
  --color--1f3151-rgb: 31, 49, 81;
  --color--1f3151-hsl: 218, 45%, 22%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#1F3151

#513F1F

Analogous

#1F4B51

#1F3151

#261F51

Triadic

#1F3151

#511F31

#31511F

Split complementary

#1F3151

#51261F

#4B511F

WCAG contrast

Aa

The quick brown fox.

12.99

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.62

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Cloud Burst

#202E54

Cello

#1E385B

Rhino

#2E3F62

Biscay

#1B3162

Blue Zodiac

#13264D

Big Stone

#162A40

Chambray

#354E8C

St Tropaz

#2D569B

San Juan

#304B6A

Azure

#315BA1

Nile Blue

#193751

San Marino

#456CAC

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
