#404E97 color

#404E97 rgb(64, 78, 151)
Shades of blue

The hex color #404E97 is a desaturated blue.

In the RGB color model it is made of 25.1% red, 30.6% green and 59.2% blue (64, 78, 151).

Its hue angle is 230°, with 40% saturation and 42% lightness. For print, the CMYK equivalent is 58% cyan, 48% magenta, 0% yellow and 41% black.

The closest named color is Queen of the Night Shift (#3D4585), a difference of 3.8 ΔE, a small difference.

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

#404E97 color codes

HEX#404E97
RGBrgb(64, 78, 151)
RGB percentrgb(25.1%, 30.6%, 59.2%)
HSLhsl(230, 40%, 42%)
HSV / HSBhsv(230, 58%, 59%)
CMYKcmyk(58%, 48%, 0%, 41%)
CIE LABlab(35.54, 17.16, -41.87)
CIE LCHlch(35.54, 45.25, 292.28)
CIE XYZxyz(10.423, 8.772, 30.416)
Decimal4214423
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #404e97; }
.text { color: #404e97; }
.border { border: 2px solid #404e97; }
.transparent { background-color: rgb(64 78 151 / 50%); }
.gradient { background: linear-gradient(to right, #404e97, #5d4097); }
Background
Text color
Border

Similar colors

Closest common color name: Cobalt Blue.

Questions

What color is #404E97?
#404E97 is a 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 #404E97?
The RGB value is 64, 78, 151: 64 red, 78 green and 151 blue on a 0 to 255 scale.
What is the complementary color of #404E97?
The complementary color is #978940, found by rotating the hue 180° on the color wheel.
Is black or white text better on #404E97?
White text. Black text has a contrast ratio of 2.75:1 and white text 7.62:1. WCAG asks for at least 4.5:1 for normal text.