#405047 color

#405047 rgb(64, 80, 71)
Shades of gray

The hex color #405047 is a dark, grayish green.

In the RGB color model it is made of 25.1% red, 31.4% green and 27.8% blue (64, 80, 71).

Its hue angle is 146°, with 11% saturation and 28% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 11% yellow and 69% black.

The closest named color is Deep Forest (#3C463E), a difference of 3.9 ΔE, a small difference.

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

#405047 color codes

HEX#405047
RGBrgb(64, 80, 71)
RGB percentrgb(25.1%, 31.4%, 27.8%)
HSLhsl(146, 11%, 28%)
HSV / HSBhsv(146, 20%, 31%)
CMYKcmyk(20%, 0%, 11%, 69%)
CIE LABlab(32.44, -8.39, 3.23)
CIE LCHlch(32.44, 8.99, 158.92)
CIE XYZxyz(6.12, 7.282, 7.043)
Decimal4214855
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #405047; }
.text { color: #405047; }
.border { border: 2px solid #405047; }
.transparent { background-color: rgb(64 80 71 / 50%); }
.gradient { background: linear-gradient(to right, #405047, #40504f); }
Background
Text color
Border

Similar colors

Closest common color name: Ebony.

Questions

What color is #405047?
#405047 is a dark, grayish green, closest to the named color Deep Forest. It belongs to the gray family of colors.
What is the RGB value of #405047?
The RGB value is 64, 80, 71: 64 red, 80 green and 71 blue on a 0 to 255 scale.
What is the complementary color of #405047?
The complementary color is #504049, found by rotating the hue 180° on the color wheel.
Is black or white text better on #405047?
White text. Black text has a contrast ratio of 2.46:1 and white text 8.55:1. WCAG asks for at least 4.5:1 for normal text.