#1F5C7E color

#1F5C7E rgb(31, 92, 126)
Shades of blue

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

In the RGB color model it is made of 12.2% red, 36.1% green and 49.4% blue (31, 92, 126).

Its hue angle is 201°, with 61% saturation and 31% lightness. For print, the CMYK equivalent is 75% cyan, 27% magenta, 0% yellow and 51% black.

The closest named color is Nautical Creatures (#295C7A), a difference of 1.2 ΔE, which is barely visible.

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

#1F5C7E color codes

HEX#1F5C7E
RGBrgb(31, 92, 126)
RGB percentrgb(12.2%, 36.1%, 49.4%)
HSLhsl(201, 61%, 31%)
HSV / HSBhsv(201, 75%, 49%)
CMYKcmyk(75%, 27%, 0%, 51%)
CIE LABlab(36.84, -7.21, -24.69)
CIE LCHlch(36.84, 25.72, 253.72)
CIE XYZxyz(8.157, 9.451, 21.129)
Decimal2055294
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1F5C7E, 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 #1F5C7ERatioAAAAAAA large
Sample text2.89:1FailFailFail
Sample text7.27:1PassPassPass
#1F5C7E as text onRatioAAAAAAA large
Sample text7.27:1PassPassPass
Sample text2.89: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 #1F5C7E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1f5c7e; }
.text { color: #1f5c7e; }
.border { border: 2px solid #1f5c7e; }
.transparent { background-color: rgb(31 92 126 / 50%); }
.gradient { background: linear-gradient(to right, #1f5c7e, #1f2c7e); }
Background
Text color
Border

Similar colors

Closest common color name: Cerulean.

Questions

What color is #1F5C7E?
#1F5C7E is a dark, moderate azure, closest to the named color Nautical Creatures. It belongs to the blue family of colors.
What is the RGB value of #1F5C7E?
The RGB value is 31, 92, 126: 31 red, 92 green and 126 blue on a 0 to 255 scale.
What is the complementary color of #1F5C7E?
The complementary color is #7E411F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1F5C7E?
White text. Black text has a contrast ratio of 2.89:1 and white text 7.27:1. WCAG asks for at least 4.5:1 for normal text.