#40514A color

#40514A rgb(64, 81, 74)
Shades of gray

The hex color #40514A is a dark, grayish spring green.

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

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

The closest named color is Night Watch (#3C4F4E), a difference of 3.3 ΔE, a small difference.

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

#40514A color codes

HEX#40514A
RGBrgb(64, 81, 74)
RGB percentrgb(25.1%, 31.8%, 29%)
HSLhsl(155, 12%, 28%)
HSV / HSBhsv(155, 21%, 32%)
CMYKcmyk(21%, 0%, 9%, 68%)
CIE LABlab(32.85, -8.3, 1.93)
CIE LCHlch(32.85, 8.52, 166.93)
CIE XYZxyz(6.292, 7.469, 7.587)
Decimal4215114
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Dark Slate Gray.

Questions

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