#404C7D color

#404C7D rgb(64, 76, 125)
Shades of blue

The hex color #404C7D is a dark, desaturated blue.

In the RGB color model it is made of 25.1% red, 29.8% green and 49% blue (64, 76, 125).

Its hue angle is 228°, with 32% saturation and 37% lightness. For print, the CMYK equivalent is 49% cyan, 39% magenta, 0% yellow and 51% black.

The closest named color is Noble Knight (#394D78), a difference of 2.4 ΔE, a small difference.

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

#404C7D color codes

HEX#404C7D
RGBrgb(64, 76, 125)
RGB percentrgb(25.1%, 29.8%, 49%)
HSLhsl(228, 32%, 37%)
HSV / HSBhsv(228, 49%, 49%)
CMYKcmyk(49%, 39%, 0%, 51%)
CIE LABlab(33.43, 9.63, -29.3)
CIE LCHlch(33.43, 30.85, 288.2)
CIE XYZxyz(8.399, 7.739, 20.449)
Decimal4213885
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #404c7d; }
.text { color: #404c7d; }
.border { border: 2px solid #404c7d; }
.transparent { background-color: rgb(64 76 125 / 50%); }
.gradient { background: linear-gradient(to right, #404c7d, #52407d); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #404C7D?
#404C7D is a dark, desaturated blue, closest to the named color Noble Knight. It belongs to the blue family of colors.
What is the RGB value of #404C7D?
The RGB value is 64, 76, 125: 64 red, 76 green and 125 blue on a 0 to 255 scale.
What is the complementary color of #404C7D?
The complementary color is #7D7140, found by rotating the hue 180° on the color wheel.
Is black or white text better on #404C7D?
White text. Black text has a contrast ratio of 2.55:1 and white text 8.24:1. WCAG asks for at least 4.5:1 for normal text.