#405147 color

#405147 rgb(64, 81, 71)
Shades of gray

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

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

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

The closest named color is Pine Needle (#334D41), a difference of 3.8 ΔE, a small difference.

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

#405147 color codes

HEX#405147
RGBrgb(64, 81, 71)
RGB percentrgb(25.1%, 31.8%, 27.8%)
HSLhsl(145, 12%, 28%)
HSV / HSBhsv(145, 21%, 32%)
CMYKcmyk(21%, 0%, 12%, 68%)
CIE LABlab(32.77, -8.99, 3.7)
CIE LCHlch(32.77, 9.72, 157.62)
CIE XYZxyz(6.194, 7.43, 7.068)
Decimal4215111
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Ebony.

Questions

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