#405A5F color

#405A5F rgb(64, 90, 95)
Shades of gray

The hex color #405A5F is a dark, grayish cyan.

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

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

The closest named color is Great Void (#3B5760), a difference of 2.3 ΔE, a small difference.

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

#405A5F color codes

HEX#405A5F
RGBrgb(64, 90, 95)
RGB percentrgb(25.1%, 35.3%, 37.3%)
HSLhsl(190, 19%, 31%)
HSV / HSBhsv(190, 33%, 37%)
CMYKcmyk(33%, 5%, 0%, 63%)
CIE LABlab(36.42, -8.34, -6.02)
CIE LCHlch(36.42, 10.28, 215.83)
CIE XYZxyz(7.835, 9.228, 12.193)
Decimal4217439
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #405A5F, 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 #405A5FRatioAAAAAAA large
Sample text2.85:1FailFailFail
Sample text7.38:1PassPassPass
#405A5F as text onRatioAAAAAAA large
Sample text7.38:1PassPassPass
Sample text2.85: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 #405A5F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #405a5f; }
.text { color: #405a5f; }
.border { border: 2px solid #405a5f; }
.transparent { background-color: rgb(64 90 95 / 50%); }
.gradient { background: linear-gradient(to right, #405a5f, #404b5f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Gray.

Questions

What color is #405A5F?
#405A5F is a dark, grayish cyan, closest to the named color Great Void. It belongs to the gray family of colors.
What is the RGB value of #405A5F?
The RGB value is 64, 90, 95: 64 red, 90 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #405A5F?
The complementary color is #5F4540, found by rotating the hue 180° on the color wheel.
Is black or white text better on #405A5F?
White text. Black text has a contrast ratio of 2.85:1 and white text 7.38:1. WCAG asks for at least 4.5:1 for normal text.