#313D47 color

#313D47 rgb(49, 61, 71)
Shades of gray

The hex color #313D47 is a dark, grayish azure.

In the RGB color model it is made of 19.2% red, 23.9% green and 27.8% blue (49, 61, 71).

Its hue angle is 207°, with 18% saturation and 24% lightness. For print, the CMYK equivalent is 31% cyan, 14% magenta, 0% yellow and 72% black.

The closest named color is Tempest in a Teapot (#303A40), a difference of 2.4 ΔE, a small difference.

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

#313D47 color codes

HEX#313D47
RGBrgb(49, 61, 71)
RGB percentrgb(19.2%, 23.9%, 27.8%)
HSLhsl(207, 18%, 24%)
HSV / HSBhsv(207, 31%, 28%)
CMYKcmyk(31%, 14%, 0%, 72%)
CIE LABlab(25.09, -2.16, -7.73)
CIE LCHlch(25.09, 8.03, 254.39)
CIE XYZxyz(4.072, 4.445, 6.603)
Decimal3226951
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #313D47, 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 #313D47RatioAAAAAAA large
Sample text1.89:1FailFailFail
Sample text11.12:1PassPassPass
#313D47 as text onRatioAAAAAAA large
Sample text11.12:1PassPassPass
Sample text1.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 #313D47 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #313d47; }
.text { color: #313d47; }
.border { border: 2px solid #313d47; }
.transparent { background-color: rgb(49 61 71 / 50%); }
.gradient { background: linear-gradient(to right, #313d47, #313247); }
Background
Text color
Border

Similar colors

Questions

What color is #313D47?
#313D47 is a dark, grayish azure, closest to the named color Tempest in a Teapot. It belongs to the gray family of colors.
What is the RGB value of #313D47?
The RGB value is 49, 61, 71: 49 red, 61 green and 71 blue on a 0 to 255 scale.
What is the complementary color of #313D47?
The complementary color is #473B31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313D47?
White text. Black text has a contrast ratio of 1.89:1 and white text 11.12:1. WCAG asks for at least 4.5:1 for normal text.