#3A5140 color

#3A5140 rgb(58, 81, 64)
Shades of green

The hex color #3A5140 is a dark, grayish green.

In the RGB color model it is made of 22.7% red, 31.8% green and 25.1% blue (58, 81, 64).

Its hue angle is 136°, with 17% saturation and 27% lightness. For print, the CMYK equivalent is 28% cyan, 0% magenta, 21% yellow and 68% black.

The closest named color is Mountain View (#394C3B), a difference of 2 ΔE, which is barely visible.

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

#3A5140 color codes

HEX#3A5140
RGBrgb(58, 81, 64)
RGB percentrgb(22.7%, 31.8%, 25.1%)
HSLhsl(136, 17%, 27%)
HSV / HSBhsv(136, 28%, 32%)
CMYKcmyk(28%, 0%, 21%, 68%)
CIE LABlab(32.16, -12.86, 7.2)
CIE LCHlch(32.16, 14.74, 150.77)
CIE XYZxyz(5.612, 7.154, 5.935)
Decimal3821888
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #3A5140, 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 #3A5140RatioAAAAAAA large
Sample text2.43:1FailFailFail
Sample text8.64:1PassPassPass
#3A5140 as text onRatioAAAAAAA large
Sample text8.64:1PassPassPass
Sample text2.43: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 #3A5140 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #3a5140; }
.text { color: #3a5140; }
.border { border: 2px solid #3a5140; }
.transparent { background-color: rgb(58 81 64 / 50%); }
.gradient { background: linear-gradient(to right, #3a5140, #3a514b); }
Background
Text color
Border

Similar colors

Closest common color name: Hunter Green.

Questions

What color is #3A5140?
#3A5140 is a dark, grayish green, closest to the named color Mountain View. It belongs to the green family of colors.
What is the RGB value of #3A5140?
The RGB value is 58, 81, 64: 58 red, 81 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #3A5140?
The complementary color is #513A4B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #3A5140?
White text. Black text has a contrast ratio of 2.43:1 and white text 8.64:1. WCAG asks for at least 4.5:1 for normal text.