#2E4540 color

#2E4540 rgb(46, 69, 64)
Shades of gray

The hex color #2E4540 is a dark, grayish spring green.

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

Its hue angle is 167°, with 20% saturation and 23% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 7% yellow and 73% black.

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

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

#2E4540 color codes

HEX#2E4540
RGBrgb(46, 69, 64)
RGB percentrgb(18%, 27.1%, 25.1%)
HSLhsl(167, 20%, 23%)
HSV / HSBhsv(167, 33%, 27%)
CMYKcmyk(33%, 0%, 7%, 73%)
CIE LABlab(27.32, -10.22, 0.16)
CIE LCHlch(27.32, 10.22, 179.13)
CIE XYZxyz(4.18, 5.207, 5.634)
Decimal3032384
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2E4540, 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 #2E4540RatioAAAAAAA large
Sample text2.04:1FailFailFail
Sample text10.29:1PassPassPass
#2E4540 as text onRatioAAAAAAA large
Sample text10.29:1PassPassPass
Sample text2.04: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 #2E4540 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

What color is #2E4540?
#2E4540 is a dark, grayish spring green, closest to the named color Pine Needle. It belongs to the gray family of colors.
What is the RGB value of #2E4540?
The RGB value is 46, 69, 64: 46 red, 69 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #2E4540?
The complementary color is #452E33, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2E4540?
White text. Black text has a contrast ratio of 2.04:1 and white text 10.29:1. WCAG asks for at least 4.5:1 for normal text.