#31394F color

#31394F rgb(49, 57, 79)
Shades of blue

The hex color #31394F is a dark, grayish blue.

In the RGB color model it is made of 19.2% red, 22.4% green and 31% blue (49, 57, 79).

Its hue angle is 224°, with 23% saturation and 25% lightness. For print, the CMYK equivalent is 38% cyan, 28% magenta, 0% yellow and 69% black.

The closest named color is Dark & Stormy (#353F51), a difference of 3.2 ΔE, a small difference.

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

#31394F color codes

HEX#31394F
RGBrgb(49, 57, 79)
RGB percentrgb(19.2%, 22.4%, 31%)
HSLhsl(224, 23%, 25%)
HSV / HSBhsv(224, 38%, 31%)
CMYKcmyk(38%, 28%, 0%, 69%)
CIE LABlab(24.14, 2.91, -14.48)
CIE LCHlch(24.14, 14.77, 281.37)
CIE XYZxyz(4.141, 4.144, 7.977)
Decimal3225935
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31394F, 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 #31394FRatioAAAAAAA large
Sample text1.83:1FailFailFail
Sample text11.48:1PassPassPass
#31394F as text onRatioAAAAAAA large
Sample text11.48:1PassPassPass
Sample text1.83: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 #31394F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31394f; }
.text { color: #31394f; }
.border { border: 2px solid #31394f; }
.transparent { background-color: rgb(49 57 79 / 50%); }
.gradient { background: linear-gradient(to right, #31394f, #38314f); }
Background
Text color
Border

Similar colors

Closest common color name: Prussian Blue.

Questions

What color is #31394F?
#31394F is a dark, grayish blue, closest to the named color Dark & Stormy. It belongs to the blue family of colors.
What is the RGB value of #31394F?
The RGB value is 49, 57, 79: 49 red, 57 green and 79 blue on a 0 to 255 scale.
What is the complementary color of #31394F?
The complementary color is #4F4731, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31394F?
White text. Black text has a contrast ratio of 1.83:1 and white text 11.48:1. WCAG asks for at least 4.5:1 for normal text.