#1F345B color

#1F345B rgb(31, 52, 91)
Shades of blue

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

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

Its hue angle is 219°, with 49% saturation and 24% lightness. For print, the CMYK equivalent is 66% cyan, 43% magenta, 0% yellow and 64% black.

The closest named color is Midnight Escapade (#2B3458), a difference of 3.3 ΔE, a small difference.

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

#1F345B color codes

HEX#1F345B
RGBrgb(31, 52, 91)
RGB percentrgb(12.2%, 20.4%, 35.7%)
HSLhsl(219, 49%, 24%)
HSV / HSBhsv(219, 66%, 36%)
CMYKcmyk(66%, 43%, 0%, 64%)
CIE LABlab(21.95, 5.57, -25.92)
CIE LCHlch(21.95, 26.51, 282.13)
CIE XYZxyz(3.681, 3.502, 10.378)
Decimal2045019
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Prussian Blue.

Questions

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