#40494A color

#40494A rgb(64, 73, 74)
Shades of gray

The hex color #40494A is a dark gray.

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

Its hue angle is 186°, with 7% saturation and 27% lightness. For print, the CMYK equivalent is 14% cyan, 1% magenta, 0% yellow and 71% black.

The closest named color is Dark Space (#414A4C), a difference of 0.7 ΔE, which is barely visible.

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

#40494A color codes

HEX#40494A
RGBrgb(64, 73, 74)
RGB percentrgb(25.1%, 28.6%, 29%)
HSLhsl(186, 7%, 27%)
HSV / HSBhsv(186, 14%, 29%)
CMYKcmyk(14%, 1%, 0%, 71%)
CIE LABlab(30.28, -3.39, -1.83)
CIE LCHlch(30.28, 3.85, 208.41)
CIE XYZxyz(5.733, 6.349, 7.401)
Decimal4213066
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Charcoal.

Questions

What color is #40494A?
#40494A is a dark gray, closest to the named color Dark Space. It belongs to the gray family of colors.
What is the RGB value of #40494A?
The RGB value is 64, 73, 74: 64 red, 73 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #40494A?
The complementary color is #4A4140, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40494A?
White text. Black text has a contrast ratio of 2.27:1 and white text 9.25:1. WCAG asks for at least 4.5:1 for normal text.