#405145 color

#405145 rgb(64, 81, 69)
Shades of gray

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

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

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

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

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

#405145 color codes

HEX#405145
RGBrgb(64, 81, 69)
RGB percentrgb(25.1%, 31.8%, 27.1%)
HSLhsl(138, 12%, 28%)
HSV / HSBhsv(138, 21%, 32%)
CMYKcmyk(21%, 0%, 15%, 68%)
CIE LABlab(32.71, -9.44, 4.89)
CIE LCHlch(32.71, 10.63, 152.63)
CIE XYZxyz(6.131, 7.404, 6.735)
Decimal4215109
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Ebony.

Questions

What color is #405145?
#405145 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 #405145?
The RGB value is 64, 81, 69: 64 red, 81 green and 69 blue on a 0 to 255 scale.
What is the complementary color of #405145?
The complementary color is #51404C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #405145?
White text. Black text has a contrast ratio of 2.48:1 and white text 8.46:1. WCAG asks for at least 4.5:1 for normal text.