#40516D color
The hex color #40516D is a dark, desaturated azure.
In the RGB color model it is made of 25.1% red, 31.8% green and 42.7% blue (64, 81, 109).
Its hue angle is 217°, with 26% saturation and 34% lightness. For print, the CMYK equivalent is 41% cyan, 26% magenta, 0% yellow and 57% black.
The closest named color is Naval Blue (#384B6B), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.03:1).
#40516D color codes
| HEX | #40516D | |
|---|---|---|
| RGB | rgb(64, 81, 109) | |
| RGB percent | rgb(25.1%, 31.8%, 42.7%) | |
| HSL | hsl(217, 26%, 34%) | |
| HSV / HSB | hsv(217, 41%, 43%) | |
| CMYK | cmyk(41%, 26%, 0%, 57%) | |
| CIE LAB | lab(34.15, 1.29, -18.22) | |
| CIE LCH | lch(34.15, 18.27, 274.03) | |
| CIE XYZ | xyz(7.816, 8.079, 15.613) | |
| Decimal | 4215149 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40516D, 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 #40516D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.62:1 | Fail | Fail | Fail |
| Sample text | 8.03:1 | Pass | Pass | Pass |
| #40516D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.03:1 | Pass | Pass | Pass |
| Sample text | 2.62: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 #40516D looks to people with the most common types of color vision deficiency.
#47536eProtanopia
no red cones#424e6cDeuteranopia
no green cones#31575bTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #40516d; }
.text { color: #40516d; }
.border { border: 2px solid #40516d; }
.transparent { background-color: rgb(64 81 109 / 50%); }
.gradient { background: linear-gradient(to right, #40516d, #46406d); }
Similar colors
#384b6bNaval Blue#3a4a63Silent Sea#425267Into the Stratosphere#44556bInkjet#3a4866Bonne Nuit#32496fMidnight Interlude#39527dSt. Tropaz#314662Stay the Night
Closest common color name: Charcoal.
Questions
- What color is #40516D?
- #40516D is a dark, desaturated azure, closest to the named color Naval Blue. It belongs to the blue family of colors.
- What is the RGB value of #40516D?
- The RGB value is 64, 81, 109: 64 red, 81 green and 109 blue on a 0 to 255 scale.
- What is the complementary color of #40516D?
- The complementary color is #6D5C40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40516D?
- White text. Black text has a contrast ratio of 2.62:1 and white text 8.03:1. WCAG asks for at least 4.5:1 for normal text.