#40474F color

#40474F rgb(64, 71, 79)
Shades of gray

The hex color #40474F is a dark, grayish azure.

In the RGB color model it is made of 25.1% red, 27.8% green and 31% blue (64, 71, 79).

Its hue angle is 212°, with 10% saturation and 28% lightness. For print, the CMYK equivalent is 19% cyan, 10% magenta, 0% yellow and 69% black.

The closest named color is Arsenic (#3B444B), a difference of 1.8 ΔE, which is barely visible.

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

#40474F color codes

HEX#40474F
RGBrgb(64, 71, 79)
RGB percentrgb(25.1%, 27.8%, 31%)
HSLhsl(212, 10%, 28%)
HSV / HSBhsv(212, 19%, 31%)
CMYKcmyk(19%, 10%, 0%, 69%)
CIE LABlab(29.81, -0.87, -5.74)
CIE LCHlch(29.81, 5.81, 261.37)
CIE XYZxyz(5.779, 6.161, 8.28)
Decimal4212559
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #40474f; }
.text { color: #40474f; }
.border { border: 2px solid #40474f; }
.transparent { background-color: rgb(64 71 79 / 50%); }
.gradient { background: linear-gradient(to right, #40474f, #41404f); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #40474F?
#40474F is a dark, grayish azure, closest to the named color Arsenic. It belongs to the gray family of colors.
What is the RGB value of #40474F?
The RGB value is 64, 71, 79: 64 red, 71 green and 79 blue on a 0 to 255 scale.
What is the complementary color of #40474F?
The complementary color is #4F4840, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40474F?
White text. Black text has a contrast ratio of 2.23:1 and white text 9.41:1. WCAG asks for at least 4.5:1 for normal text.