#40414A color

#40414A rgb(64, 65, 74)
Shades of gray

The hex color #40414A is a dark gray.

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

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

The closest named color is Midnight Serenade (#41434E), a difference of 1.2 ΔE, which is barely visible.

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

#40414A color codes

HEX#40414A
RGBrgb(64, 65, 74)
RGB percentrgb(25.1%, 25.5%, 29%)
HSLhsl(234, 7%, 27%)
HSV / HSBhsv(234, 14%, 29%)
CMYKcmyk(14%, 12%, 0%, 71%)
CIE LABlab(27.75, 1.72, -5.58)
CIE LCHlch(27.75, 5.84, 287.17)
CIE XYZxyz(5.24, 5.365, 7.237)
Decimal4211018
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Graphite.

Questions

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