#313A3F color

#313A3F rgb(49, 58, 63)
Shades of gray

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

In the RGB color model it is made of 19.2% red, 22.7% green and 24.7% blue (49, 58, 63).

Its hue angle is 201°, with 13% saturation and 22% lightness. For print, the CMYK equivalent is 22% cyan, 8% magenta, 0% yellow and 75% black.

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

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

#313A3F color codes

HEX#313A3F
RGBrgb(49, 58, 63)
RGB percentrgb(19.2%, 22.7%, 24.7%)
HSLhsl(201, 13%, 22%)
HSV / HSBhsv(201, 22%, 25%)
CMYKcmyk(22%, 8%, 0%, 75%)
CIE LABlab(23.8, -2.44, -4.35)
CIE LCHlch(23.8, 4.99, 240.76)
CIE XYZxyz(3.677, 4.038, 5.287)
Decimal3226175
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #313a3f; }
.text { color: #313a3f; }
.border { border: 2px solid #313a3f; }
.transparent { background-color: rgb(49 58 63 / 50%); }
.gradient { background: linear-gradient(to right, #313a3f, #31333f); }
Background
Text color
Border

Similar colors

Questions

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