#404A5F color

#404A5F rgb(64, 74, 95)
Shades of blue

The hex color #404A5F is a dark, grayish blue.

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

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

The closest named color is Silent Sea (#3A4A63), a difference of 2.3 ΔE, a small difference.

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

#404A5F color codes

HEX#404A5F
RGBrgb(64, 74, 95)
RGB percentrgb(25.1%, 29%, 37.3%)
HSLhsl(221, 19%, 31%)
HSV / HSBhsv(221, 33%, 37%)
CMYKcmyk(33%, 22%, 0%, 63%)
CIE LABlab(31.38, 1.59, -13.64)
CIE LCHlch(31.38, 13.73, 276.63)
CIE XYZxyz(6.628, 6.814, 11.79)
Decimal4213343
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Charcoal.

Questions

What color is #404A5F?
#404A5F is a dark, grayish blue, closest to the named color Silent Sea. It belongs to the blue family of colors.
What is the RGB value of #404A5F?
The RGB value is 64, 74, 95: 64 red, 74 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #404A5F?
The complementary color is #5F5540, found by rotating the hue 180° on the color wheel.
Is black or white text better on #404A5F?
White text. Black text has a contrast ratio of 2.36:1 and white text 8.89:1. WCAG asks for at least 4.5:1 for normal text.