#31504D color

#31504D rgb(49, 80, 77)
Shades of gray

The hex color #31504D is a dark, grayish spring green.

In the RGB color model it is made of 19.2% red, 31.4% green and 30.2% blue (49, 80, 77).

Its hue angle is 174°, with 24% saturation and 25% lightness. For print, the CMYK equivalent is 39% cyan, 0% magenta, 4% yellow and 69% black.

The closest named color is Dark Slate Gray (#2F4F4F), a difference of 1.6 ΔE, which is barely visible.

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

#31504D color codes

HEX#31504D
RGBrgb(49, 80, 77)
RGB percentrgb(19.2%, 31.4%, 30.2%)
HSLhsl(174, 24%, 25%)
HSV / HSBhsv(174, 39%, 31%)
CMYKcmyk(39%, 0%, 4%, 69%)
CIE LABlab(31.64, -12.24, -1.87)
CIE LCHlch(31.64, 12.38, 188.69)
CIE XYZxyz(5.474, 6.926, 8.068)
Decimal3231821
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31504D, 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 #31504DRatioAAAAAAA large
Sample text2.39:1FailFailFail
Sample text8.8:1PassPassPass
#31504D as text onRatioAAAAAAA large
Sample text8.8:1PassPassPass
Sample text2.39: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 #31504D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31504d; }
.text { color: #31504d; }
.border { border: 2px solid #31504d; }
.transparent { background-color: rgb(49 80 77 / 50%); }
.gradient { background: linear-gradient(to right, #31504d, #314350); }
Background
Text color
Border

Similar colors

Questions

What color is #31504D?
#31504D is a dark, grayish spring green, closest to the named color Dark Slate Gray. It belongs to the gray family of colors.
What is the RGB value of #31504D?
The RGB value is 49, 80, 77: 49 red, 80 green and 77 blue on a 0 to 255 scale.
What is the complementary color of #31504D?
The complementary color is #503134, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31504D?
White text. Black text has a contrast ratio of 2.39:1 and white text 8.8:1. WCAG asks for at least 4.5:1 for normal text.