#403E38 color

#403E38 rgb(64, 62, 56)
Shades of gray

The hex color #403E38 is a dark gray.

In the RGB color model it is made of 25.1% red, 24.3% green and 22% blue (64, 62, 56).

Its hue angle is 45°, with 7% saturation and 24% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 13% yellow and 75% black.

The closest named color is Deepest Nightmare (#44413C), a difference of 1.5 ΔE, which is barely visible.

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

#403E38 color codes

HEX#403E38
RGBrgb(64, 62, 56)
RGB percentrgb(25.1%, 24.3%, 22%)
HSLhsl(45, 7%, 24%)
HSV / HSBhsv(45, 13%, 25%)
CMYKcmyk(0%, 3%, 13%, 75%)
CIE LABlab(26.22, -0.42, 3.99)
CIE LCHlch(26.22, 4.02, 95.94)
CIE XYZxyz(4.551, 4.821, 4.431)
Decimal4210232
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #403E38, 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 #403E38RatioAAAAAAA large
Sample text1.96:1FailFailFail
Sample text10.69:1PassPassPass
#403E38 as text onRatioAAAAAAA large
Sample text10.69:1PassPassPass
Sample text1.96: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 #403E38 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #403e38; }
.text { color: #403e38; }
.border { border: 2px solid #403e38; }
.transparent { background-color: rgb(64 62 56 / 50%); }
.gradient { background: linear-gradient(to right, #403e38, #3e4038); }
Background
Text color
Border

Similar colors

Questions

What color is #403E38?
#403E38 is a dark gray, closest to the named color Deepest Nightmare. It belongs to the gray family of colors.
What is the RGB value of #403E38?
The RGB value is 64, 62, 56: 64 red, 62 green and 56 blue on a 0 to 255 scale.
What is the complementary color of #403E38?
The complementary color is #383A40, found by rotating the hue 180° on the color wheel.
Is black or white text better on #403E38?
White text. Black text has a contrast ratio of 1.96:1 and white text 10.69:1. WCAG asks for at least 4.5:1 for normal text.