#40437D color
The hex color #40437D is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 26.3% green and 49% blue (64, 67, 125).
Its hue angle is 237°, with 32% saturation and 37% lightness. For print, the CMYK equivalent is 49% cyan, 46% magenta, 0% yellow and 51% black.
The closest named color is Queen of the Night Shift (#3D4585), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.06:1).
#40437D color codes
| HEX | #40437D | |
|---|---|---|
| RGB | rgb(64, 67, 125) | |
| RGB percent | rgb(25.1%, 26.3%, 49%) | |
| HSL | hsl(237, 32%, 37%) | |
| HSV / HSB | hsv(237, 49%, 49%) | |
| CMYK | cmyk(49%, 46%, 0%, 51%) | |
| CIE LAB | lab(30.84, 15.58, -33.41) | |
| CIE LCH | lch(30.84, 36.87, 295) | |
| CIE XYZ | xyz(7.822, 6.585, 20.257) | |
| Decimal | 4211581 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40437D, 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 #40437D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.06:1 | Pass | Pass | Pass |
| #40437D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.06:1 | Pass | Pass | Pass |
| Sample text | 2.32: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 #40437D looks to people with the most common types of color vision deficiency.
#2c4b7fProtanopia
no red cones#27467cDeuteranopia
no green cones#2a4f5aTritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #40437d; }
.text { color: #40437d; }
.border { border: 2px solid #40437d; }
.transparent { background-color: rgb(64 67 125 / 50%); }
.gradient { background: linear-gradient(to right, #40437d, #5b407d); }
Similar colors
#3d4585Queen of the Night Shift#363e7dEvening Magic#333c76Good Karma#324471Space Missions#4e518bTwilight#2c4170Napoleonic Blue#50507fTangent Periwinkle#394d78Noble Knight
Closest common color name: Dark Slate Blue.
Questions
- What color is #40437D?
- #40437D 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 #40437D?
- The RGB value is 64, 67, 125: 64 red, 67 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #40437D?
- The complementary color is #7D7A40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40437D?
- White text. Black text has a contrast ratio of 2.32:1 and white text 9.06:1. WCAG asks for at least 4.5:1 for normal text.