#40547E color

#40547E rgb(64, 84, 126)
Shades of blue

The hex color #40547E is a dark, desaturated blue.

In the RGB color model it is made of 25.1% red, 32.9% green and 49.4% blue (64, 84, 126).

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

The closest named color is Sailor (#445780), a difference of 1.1 ΔE, which is barely visible.

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

#40547E color codes

HEX#40547E
RGBrgb(64, 84, 126)
RGB percentrgb(25.1%, 32.9%, 49.4%)
HSLhsl(221, 33%, 37%)
HSV / HSBhsv(221, 49%, 49%)
CMYKcmyk(49%, 33%, 0%, 51%)
CIE LABlab(35.86, 4.77, -26.11)
CIE LCHlch(35.86, 26.54, 280.36)
CIE XYZxyz(9.049, 8.936, 20.983)
Decimal4215934
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40547E, 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 #40547ERatioAAAAAAA large
Sample text2.79:1FailFailFail
Sample text7.53:1PassPassPass
#40547E as text onRatioAAAAAAA large
Sample text7.53:1PassPassPass
Sample text2.79: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 #40547E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40547e; }
.text { color: #40547e; }
.border { border: 2px solid #40547e; }
.transparent { background-color: rgb(64 84 126 / 50%); }
.gradient { background: linear-gradient(to right, #40547e, #4b407e); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #40547E?
#40547E is a dark, desaturated blue, closest to the named color Sailor. It belongs to the blue family of colors.
What is the RGB value of #40547E?
The RGB value is 64, 84, 126: 64 red, 84 green and 126 blue on a 0 to 255 scale.
What is the complementary color of #40547E?
The complementary color is #7E6A40, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40547E?
White text. Black text has a contrast ratio of 2.79:1 and white text 7.53:1. WCAG asks for at least 4.5:1 for normal text.