#404781 color

#404781 rgb(64, 71, 129)
Shades of blue

The hex color #404781 is a dark, desaturated blue.

In the RGB color model it is made of 25.1% red, 27.8% green and 50.6% blue (64, 71, 129).

Its hue angle is 234°, with 34% saturation and 38% lightness. For print, the CMYK equivalent is 50% cyan, 45% magenta, 0% yellow and 49% black.

The closest named color is Queen of the Night Shift (#3D4585), a difference of 1.3 ΔE, which is barely visible.

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

#404781 color codes

HEX#404781
RGBrgb(64, 71, 129)
RGB percentrgb(25.1%, 27.8%, 50.6%)
HSLhsl(234, 34%, 38%)
HSV / HSBhsv(234, 50%, 51%)
CMYKcmyk(50%, 45%, 0%, 49%)
CIE LABlab(32.22, 14.26, -33.71)
CIE LCHlch(32.22, 36.61, 292.93)
CIE XYZxyz(8.329, 7.181, 21.712)
Decimal4212609
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #404781; }
.text { color: #404781; }
.border { border: 2px solid #404781; }
.transparent { background-color: rgb(64 71 129 / 50%); }
.gradient { background: linear-gradient(to right, #404781, #5a4081); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #404781?
#404781 is a dark, desaturated blue, closest to the named color Queen of the Night Shift. It belongs to the blue family of colors.
What is the RGB value of #404781?
The RGB value is 64, 71, 129: 64 red, 71 green and 129 blue on a 0 to 255 scale.
What is the complementary color of #404781?
The complementary color is #817A40, found by rotating the hue 180° on the color wheel.
Is black or white text better on #404781?
White text. Black text has a contrast ratio of 2.44:1 and white text 8.62:1. WCAG asks for at least 4.5:1 for normal text.