#40423B color

#40423B rgb(64, 66, 59)
Shades of gray

The hex color #40423B is a dark gray.

In the RGB color model it is made of 25.1% red, 25.9% green and 23.1% blue (64, 66, 59).

Its hue angle is 77°, with 6% saturation and 25% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 11% yellow and 74% black.

The closest named color is Heavy Metal (#46473E), a difference of 2 ΔE, a small difference.

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

#40423B color codes

HEX#40423B
RGBrgb(64, 66, 59)
RGB percentrgb(25.1%, 25.9%, 23.1%)
HSLhsl(77, 6%, 25%)
HSV / HSBhsv(77, 11%, 26%)
CMYKcmyk(3%, 0%, 11%, 74%)
CIE LABlab(27.58, -2.36, 3.97)
CIE LCHlch(27.58, 4.62, 120.72)
CIE XYZxyz(4.852, 5.302, 4.905)
Decimal4211259
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40423B, 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 #40423BRatioAAAAAAA large
Sample text2.06:1FailFailFail
Sample text10.19:1PassPassPass
#40423B as text onRatioAAAAAAA large
Sample text10.19:1PassPassPass
Sample text2.06: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 #40423B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40423b; }
.text { color: #40423b; }
.border { border: 2px solid #40423b; }
.transparent { background-color: rgb(64 66 59 / 50%); }
.gradient { background: linear-gradient(to right, #40423b, #3c423b); }
Background
Text color
Border

Similar colors

Questions

What color is #40423B?
#40423B is a dark gray, closest to the named color Heavy Metal. It belongs to the gray family of colors.
What is the RGB value of #40423B?
The RGB value is 64, 66, 59: 64 red, 66 green and 59 blue on a 0 to 255 scale.
What is the complementary color of #40423B?
The complementary color is #3D3B42, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40423B?
White text. Black text has a contrast ratio of 2.06:1 and white text 10.19:1. WCAG asks for at least 4.5:1 for normal text.