#404160 color

#404160 rgb(64, 65, 96)
Shades of blue

The hex color #404160 is a dark, grayish blue.

In the RGB color model it is made of 25.1% red, 25.5% green and 37.6% blue (64, 65, 96).

Its hue angle is 238°, with 20% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 32% magenta, 0% yellow and 62% black.

The closest named color is Genie (#3E4364), a difference of 1.7 ΔE, which is barely visible.

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

#404160 color codes

HEX#404160
RGBrgb(64, 65, 96)
RGB percentrgb(25.1%, 25.5%, 37.6%)
HSLhsl(238, 20%, 31%)
HSV / HSBhsv(238, 33%, 38%)
CMYKcmyk(33%, 32%, 0%, 62%)
CIE LABlab(28.68, 7.76, -18.44)
CIE LCHlch(28.68, 20, 292.83)
CIE XYZxyz(6.115, 5.715, 11.845)
Decimal4211040
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #404160; }
.text { color: #404160; }
.border { border: 2px solid #404160; }
.transparent { background-color: rgb(64 65 96 / 50%); }
.gradient { background: linear-gradient(to right, #404160, #4f4060); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #404160?
#404160 is a dark, grayish blue, closest to the named color Genie. It belongs to the blue family of colors.
What is the RGB value of #404160?
The RGB value is 64, 65, 96: 64 red, 65 green and 96 blue on a 0 to 255 scale.
What is the complementary color of #404160?
The complementary color is #605F40, found by rotating the hue 180° on the color wheel.
Is black or white text better on #404160?
White text. Black text has a contrast ratio of 2.14:1 and white text 9.8:1. WCAG asks for at least 4.5:1 for normal text.