#31403E color

#31403E rgb(49, 64, 62)
Shades of gray

The hex color #31403E is a dark, grayish spring green.

In the RGB color model it is made of 19.2% red, 25.1% green and 24.3% blue (49, 64, 62).

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

The closest named color is Aztec (#293432), a difference of 4 ΔE, a small difference.

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

#31403E color codes

HEX#31403E
RGBrgb(49, 64, 62)
RGB percentrgb(19.2%, 25.1%, 24.3%)
HSLhsl(172, 13%, 22%)
HSV / HSBhsv(172, 23%, 25%)
CMYKcmyk(23%, 0%, 3%, 75%)
CIE LABlab(25.77, -6.55, -0.78)
CIE LCHlch(25.77, 6.6, 186.76)
CIE XYZxyz(3.969, 4.667, 5.248)
Decimal3227710
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31403E, 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 #31403ERatioAAAAAAA large
Sample text1.93:1FailFailFail
Sample text10.86:1PassPassPass
#31403E as text onRatioAAAAAAA large
Sample text10.86:1PassPassPass
Sample text1.93: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 #31403E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31403e; }
.text { color: #31403e; }
.border { border: 2px solid #31403e; }
.transparent { background-color: rgb(49 64 62 / 50%); }
.gradient { background: linear-gradient(to right, #31403e, #313a40); }
Background
Text color
Border

Similar colors

Questions

What color is #31403E?
#31403E is a dark, grayish spring green, closest to the named color Aztec. It belongs to the gray family of colors.
What is the RGB value of #31403E?
The RGB value is 49, 64, 62: 49 red, 64 green and 62 blue on a 0 to 255 scale.
What is the complementary color of #31403E?
The complementary color is #403133, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31403E?
White text. Black text has a contrast ratio of 1.93:1 and white text 10.86:1. WCAG asks for at least 4.5:1 for normal text.