#40576F color
The hex color #40576F is a dark, desaturated azure.
In the RGB color model it is made of 25.1% red, 34.1% green and 43.5% blue (64, 87, 111).
Its hue angle is 211°, with 27% saturation and 34% lightness. For print, the CMYK equivalent is 42% cyan, 22% magenta, 0% yellow and 56% black.
The closest named color is Inkjet (#44556B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.47:1).
#40576F color codes
| HEX | #40576F | |
|---|---|---|
| RGB | rgb(64, 87, 111) | |
| RGB percent | rgb(25.1%, 34.1%, 43.5%) | |
| HSL | hsl(211, 27%, 34%) | |
| HSV / HSB | hsv(211, 42%, 44%) | |
| CMYK | cmyk(42%, 22%, 0%, 56%) | |
| CIE LAB | lab(36.09, -1.88, -16.48) | |
| CIE LCH | lch(36.09, 16.59, 263.49) | |
| CIE XYZ | xyz(8.391, 9.054, 16.341) | |
| Decimal | 4216687 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40576F, 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 #40576F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.81:1 | Fail | Fail | Fail |
| Sample text | 7.47:1 | Pass | Pass | Pass |
| #40576F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.47:1 | Pass | Pass | Pass |
| Sample text | 2.81: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 #40576F looks to people with the most common types of color vision deficiency.
#4e5870Protanopia
no red cones#48536fDeuteranopia
no green cones#2f5c5fTritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #40576f; }
.text { color: #40576f; }
.border { border: 2px solid #40576f; }
.transparent { background-color: rgb(64 87 111 / 50%); }
.gradient { background: linear-gradient(to right, #40576f, #41406f); }
Similar colors
#44556bInkjet#425267Into the Stratosphere#4d5a6bStorm Rising#4c6177Night Market#324c64Bluedgeons#314e64Outer Space#4a5c6aSeven Seas#46647eStellar
Closest common color name: Charcoal.
Questions
- What color is #40576F?
- #40576F is a dark, desaturated azure, closest to the named color Inkjet. It belongs to the blue family of colors.
- What is the RGB value of #40576F?
- The RGB value is 64, 87, 111: 64 red, 87 green and 111 blue on a 0 to 255 scale.
- What is the complementary color of #40576F?
- The complementary color is #6F5840, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40576F?
- White text. Black text has a contrast ratio of 2.81:1 and white text 7.47:1. WCAG asks for at least 4.5:1 for normal text.