#2A343C color

#2A343C rgb(42, 52, 60)
Shades of gray

The hex color #2A343C is a dark, grayish azure.

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

Its hue angle is 207°, with 18% saturation and 20% lightness. For print, the CMYK equivalent is 30% cyan, 13% magenta, 0% yellow and 76% black.

The closest named color is Gunmetal (#2A3439), a difference of 1.9 ΔE, which is barely visible.

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

#2A343C color codes

HEX#2A343C
RGBrgb(42, 52, 60)
RGB percentrgb(16.5%, 20.4%, 23.5%)
HSLhsl(207, 18%, 20%)
HSV / HSBhsv(207, 30%, 24%)
CMYKcmyk(30%, 13%, 0%, 76%)
CIE LABlab(21.11, -1.98, -6.41)
CIE LCHlch(21.11, 6.71, 252.87)
CIE XYZxyz(2.998, 3.274, 4.748)
Decimal2765884
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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