#313D45 color

#313D45 rgb(49, 61, 69)
Shades of gray

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

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

Its hue angle is 204°, with 17% saturation and 23% lightness. For print, the CMYK equivalent is 29% cyan, 12% magenta, 0% yellow and 73% black.

The closest named color is Tempest in a Teapot (#303A40), a difference of 1.5 ΔE, which is barely visible.

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

#313D45 color codes

HEX#313D45
RGBrgb(49, 61, 69)
RGB percentrgb(19.2%, 23.9%, 27.1%)
HSLhsl(204, 17%, 23%)
HSV / HSBhsv(204, 29%, 27%)
CMYKcmyk(29%, 12%, 0%, 73%)
CIE LABlab(25.01, -2.73, -6.52)
CIE LCHlch(25.01, 7.07, 247.27)
CIE XYZxyz(4.009, 4.42, 6.271)
Decimal3226949
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #313D45?
#313D45 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 #313D45?
The RGB value is 49, 61, 69: 49 red, 61 green and 69 blue on a 0 to 255 scale.
What is the complementary color of #313D45?
The complementary color is #453931, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313D45?
White text. Black text has a contrast ratio of 1.88:1 and white text 11.15:1. WCAG asks for at least 4.5:1 for normal text.