#1F3454 color

#1F3454 rgb(31, 52, 84)
Shades of blue

The hex color #1F3454 is a dark, desaturated azure.

In the RGB color model it is made of 12.2% red, 20.4% green and 32.9% blue (31, 52, 84).

Its hue angle is 216°, with 46% saturation and 23% lightness. For print, the CMYK equivalent is 63% cyan, 38% magenta, 0% yellow and 67% black.

The closest named color is Nautilus (#273C5A), a difference of 2.7 ΔE, a small difference.

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

#1F3454 color codes

HEX#1F3454
RGBrgb(31, 52, 84)
RGB percentrgb(12.2%, 20.4%, 32.9%)
HSLhsl(216, 46%, 23%)
HSV / HSBhsv(216, 63%, 33%)
CMYKcmyk(63%, 38%, 0%, 67%)
CIE LABlab(21.53, 2.85, -21.96)
CIE LCHlch(21.53, 22.14, 277.4)
CIE XYZxyz(3.393, 3.387, 8.861)
Decimal2045012
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1F3454, 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 #1F3454RatioAAAAAAA large
Sample text1.68:1FailFailFail
Sample text12.52:1PassPassPass
#1F3454 as text onRatioAAAAAAA large
Sample text12.52:1PassPassPass
Sample text1.68: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 #1F3454 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1f3454; }
.text { color: #1f3454; }
.border { border: 2px solid #1f3454; }
.transparent { background-color: rgb(31 52 84 / 50%); }
.gradient { background: linear-gradient(to right, #1f3454, #241f54); }
Background
Text color
Border

Similar colors

Questions

What color is #1F3454?
#1F3454 is a dark, desaturated azure, closest to the named color Nautilus. It belongs to the blue family of colors.
What is the RGB value of #1F3454?
The RGB value is 31, 52, 84: 31 red, 52 green and 84 blue on a 0 to 255 scale.
What is the complementary color of #1F3454?
The complementary color is #543F1F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1F3454?
White text. Black text has a contrast ratio of 1.68:1 and white text 12.52:1. WCAG asks for at least 4.5:1 for normal text.