#40505F color

#40505F rgb(64, 80, 95)
Shades of gray

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

In the RGB color model it is made of 25.1% red, 31.4% green and 37.3% blue (64, 80, 95).

Its hue angle is 209°, with 19% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 16% magenta, 0% yellow and 63% black.

The closest named color is Abyssal (#404C57), a difference of 2.3 ΔE, a small difference.

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

#40505F color codes

HEX#40505F
RGBrgb(64, 80, 95)
RGB percentrgb(25.1%, 31.4%, 37.3%)
HSLhsl(209, 19%, 31%)
HSV / HSBhsv(209, 33%, 37%)
CMYKcmyk(33%, 16%, 0%, 63%)
CIE LABlab(33.25, -2.22, -10.79)
CIE LCHlch(33.25, 11.02, 258.35)
CIE XYZxyz(7.048, 7.653, 11.93)
Decimal4214879
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #40505f; }
.text { color: #40505f; }
.border { border: 2px solid #40505f; }
.transparent { background-color: rgb(64 80 95 / 50%); }
.gradient { background: linear-gradient(to right, #40505f, #40415f); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #40505F?
#40505F is a dark, grayish azure, closest to the named color Abyssal. It belongs to the gray family of colors.
What is the RGB value of #40505F?
The RGB value is 64, 80, 95: 64 red, 80 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #40505F?
The complementary color is #5F4F40, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40505F?
White text. Black text has a contrast ratio of 2.53:1 and white text 8.3:1. WCAG asks for at least 4.5:1 for normal text.