#2F403A color

#2F403A rgb(47, 64, 58)
Shades of gray

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

In the RGB color model it is made of 18.4% red, 25.1% green and 22.7% blue (47, 64, 58).

Its hue angle is 159°, with 15% saturation and 22% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 9% yellow and 75% black.

The closest named color is Deep Forest (#3C463E), a difference of 3.9 ΔE, a small difference.

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

#2F403A color codes

HEX#2F403A
RGBrgb(47, 64, 58)
RGB percentrgb(18.4%, 25.1%, 22.7%)
HSLhsl(159, 15%, 22%)
HSV / HSBhsv(159, 27%, 25%)
CMYKcmyk(27%, 0%, 9%, 75%)
CIE LABlab(25.49, -8.34, 1.45)
CIE LCHlch(25.49, 8.46, 170.16)
CIE XYZxyz(3.769, 4.576, 4.687)
Decimal3096634
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2F403A, 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 #2F403ARatioAAAAAAA large
Sample text1.92:1FailFailFail
Sample text10.96:1PassPassPass
#2F403A as text onRatioAAAAAAA large
Sample text10.96:1PassPassPass
Sample text1.92: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 #2F403A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2f403a; }
.text { color: #2f403a; }
.border { border: 2px solid #2f403a; }
.transparent { background-color: rgb(47 64 58 / 50%); }
.gradient { background: linear-gradient(to right, #2f403a, #2f3e40); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #2F403A?
#2F403A is a dark, grayish spring green, closest to the named color Deep Forest. It belongs to the gray family of colors.
What is the RGB value of #2F403A?
The RGB value is 47, 64, 58: 47 red, 64 green and 58 blue on a 0 to 255 scale.
What is the complementary color of #2F403A?
The complementary color is #402F35, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2F403A?
White text. Black text has a contrast ratio of 1.92:1 and white text 10.96:1. WCAG asks for at least 4.5:1 for normal text.