---
title: "#1F3A7F Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #1F3A7F — RGB(31, 58, 127), HSL(223, 61%, 31%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/1f3a7f
---
Custom color

# #1F3A7F

#

Add to Chrome →

Reference

## Color values

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

Hue

223°

Sat

61%

Light

31%

Shades & tints

CSS variables

CSS

```
/* #1F3A7F */
:root {
  --color--1f3a7f: #1F3A7F;
  --color--1f3a7f-rgb: 31, 58, 127;
  --color--1f3a7f-hsl: 223, 61%, 31%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#1F3A7F

#7F641F

Analogous

#1F6A7F

#1F3A7F

#341F7F

Triadic

#1F3A7F

#7F1F3A

#3A7F1F

Split complementary

#1F3A7F

#7F341F

#6A7F1F

WCAG contrast

Aa

The quick brown fox.

10.66

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

1.97

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Biscay

#1B3162

Bay of Many

#273A81

Astronaut

#283A77

Sapphire

#2F519E

Blue Zodiac

#13264D

Cerulean Blue

#2A52BE

Chambray

#354E8C

St Tropaz

#2D569B

Cloud Burst

#202E54

Bunting

#151F4C

Azure

#315BA1

Torea Bay

#0F2D9E

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
