#40547E color
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 | |
|---|---|---|
| RGB | rgb(64, 84, 126) | |
| RGB percent | rgb(25.1%, 32.9%, 49.4%) | |
| HSL | hsl(221, 33%, 37%) | |
| HSV / HSB | hsv(221, 49%, 49%) | |
| CMYK | cmyk(49%, 33%, 0%, 51%) | |
| CIE LAB | lab(35.86, 4.77, -26.11) | |
| CIE LCH | lch(35.86, 26.54, 280.36) | |
| CIE XYZ | xyz(9.049, 8.936, 20.983) | |
| Decimal | 4215934 | |
| Short hex | None (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 #40547E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.53:1 | Pass | Pass | Pass |
| #40547E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.53:1 | Pass | Pass | Pass |
| Sample text | 2.79:1 | Fail | Fail | Fail |
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.
#445780Protanopia
no red cones#3e527dDeuteranopia
no green cones#275d63Tritanopia
no blue cones#545454Achromatopsia
no color vision
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); }
Similar colors
#445780Sailor#39527dSt. Tropaz#394d78Noble Knight#4d5b88Wizard#335588Glimpse of Void#4c567aDeep Indigo#314a76Dragonfly#2d4f83Assassin
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.