Gunmetal color: hex code #2A3439

#2A3439 rgb(42, 52, 57)
Shades of gray

Gunmetal has the hex code #2A3439. It is a very dark, grayish azure.

In the RGB color model it is made of 16.5% red, 20.4% green and 22.4% blue (42, 52, 57).

Its hue angle is 200°, with 15% saturation and 19% lightness. For print, the CMYK equivalent is 26% cyan, 9% magenta, 0% yellow and 78% black.

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

Gunmetal (#2A3439) color codes

HEX#2A3439
RGBrgb(42, 52, 57)
RGB percentrgb(16.5%, 20.4%, 22.4%)
HSLhsl(200, 15%, 19%)
HSV / HSBhsv(200, 26%, 22%)
CMYKcmyk(26%, 9%, 0%, 78%)
CIE LABlab(20.99, -2.84, -4.55)
CIE LCHlch(20.99, 5.36, 238.03)
CIE XYZxyz(2.921, 3.244, 4.342)
Decimal2765881
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Gunmetal, 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 #2A3439RatioAAAAAAA large
Sample text1.65:1FailFailFail
Sample text12.74:1PassPassPass
#2A3439 as text onRatioAAAAAAA large
Sample text12.74:1PassPassPass
Sample text1.65: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 #2A3439 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2a3439; }
.text { color: #2a3439; }
.border { border: 2px solid #2a3439; }
.transparent { background-color: rgb(42 52 57 / 50%); }
.gradient { background: linear-gradient(to right, #2a3439, #2a2d39); }
Background
Text color
Border

Similar colors

See #2A3439 on its hex code page

Questions

What color is #2A3439?
#2A3439 is a very dark, grayish azure known as Gunmetal. It belongs to the gray family of colors.
What is the RGB value of Gunmetal?
The RGB value is 42, 52, 57: 42 red, 52 green and 57 blue on a 0 to 255 scale.
What is the complementary color of Gunmetal?
The complementary color is #392F2A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2A3439?
White text. Black text has a contrast ratio of 1.65:1 and white text 12.74:1. WCAG asks for at least 4.5:1 for normal text.