#404641 color

#404641 rgb(64, 70, 65)
Shades of gray

The hex color #404641 is a dark gray.

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

Its hue angle is 130°, with 4% saturation and 26% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 7% yellow and 73% black.

The closest named color is Ancient Pine (#444B43), a difference of 2.3 ΔE, a small difference.

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

#404641 color codes

HEX#404641
RGBrgb(64, 70, 65)
RGB percentrgb(25.1%, 27.5%, 25.5%)
HSLhsl(130, 4%, 26%)
HSV / HSBhsv(130, 9%, 27%)
CMYKcmyk(9%, 0%, 7%, 73%)
CIE LABlab(29.04, -3.6, 2.17)
CIE LCHlch(29.04, 4.2, 148.92)
CIE XYZxyz(5.258, 5.852, 5.852)
Decimal4212289
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Onyx.

Questions

What color is #404641?
#404641 is a dark gray, closest to the named color Ancient Pine. It belongs to the gray family of colors.
What is the RGB value of #404641?
The RGB value is 64, 70, 65: 64 red, 70 green and 65 blue on a 0 to 255 scale.
What is the complementary color of #404641?
The complementary color is #464045, found by rotating the hue 180° on the color wheel.
Is black or white text better on #404641?
White text. Black text has a contrast ratio of 2.17:1 and white text 9.68:1. WCAG asks for at least 4.5:1 for normal text.