#405041 color

#405041 rgb(64, 80, 65)
Shades of gray

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

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

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

The closest named color is Mountain View (#394C3B), a difference of 2.2 ΔE, a small difference.

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

#405041 color codes

HEX#405041
RGBrgb(64, 80, 65)
RGB percentrgb(25.1%, 31.4%, 25.5%)
HSLhsl(124, 11%, 28%)
HSV / HSBhsv(124, 20%, 31%)
CMYKcmyk(20%, 0%, 19%, 69%)
CIE LABlab(32.28, -9.71, 6.8)
CIE LCHlch(32.28, 11.85, 144.99)
CIE XYZxyz(5.937, 7.209, 6.079)
Decimal4214849
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Ebony.

Questions

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