#1F3F71 color

#1F3F71 rgb(31, 63, 113)
Shades of blue

The hex color #1F3F71 is a dark, moderate azure.

In the RGB color model it is made of 12.2% red, 24.7% green and 44.3% blue (31, 63, 113).

Its hue angle is 217°, with 57% saturation and 28% lightness. For print, the CMYK equivalent is 73% cyan, 44% magenta, 0% yellow and 56% black.

The closest named color is Aegean Blue (#1B416F), a difference of 1.5 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 10.46:1).

#1F3F71 color codes

HEX#1F3F71
RGBrgb(31, 63, 113)
RGB percentrgb(12.2%, 24.7%, 44.3%)
HSLhsl(217, 57%, 28%)
HSV / HSBhsv(217, 73%, 44%)
CMYKcmyk(73%, 44%, 0%, 56%)
CIE LABlab(26.84, 6.62, -32.35)
CIE LCHlch(26.84, 33.02, 281.56)
CIE XYZxyz(5.322, 5.038, 16.312)
Decimal2047857
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1F3F71, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #1F3F71RatioAAAAAAA large
Sample text2.01:1FailFailFail
Sample text10.46:1PassPassPass
#1F3F71 as text onRatioAAAAAAA large
Sample text10.46:1PassPassPass
Sample text2.01:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #1F3F71 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1f3f71; }
.text { color: #1f3f71; }
.border { border: 2px solid #1f3f71; }
.transparent { background-color: rgb(31 63 113 / 50%); }
.gradient { background: linear-gradient(to right, #1f3f71, #281f71); }
Background
Text color
Border

Similar colors

Closest common color name: Prussian Blue.

Questions

What color is #1F3F71?
#1F3F71 is a dark, moderate azure, closest to the named color Aegean Blue. It belongs to the blue family of colors.
What is the RGB value of #1F3F71?
The RGB value is 31, 63, 113: 31 red, 63 green and 113 blue on a 0 to 255 scale.
What is the complementary color of #1F3F71?
The complementary color is #71511F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1F3F71?
White text. Black text has a contrast ratio of 2.01:1 and white text 10.46:1. WCAG asks for at least 4.5:1 for normal text.