#40535F color
The hex color #40535F is a dark, grayish azure.
In the RGB color model it is made of 25.1% red, 32.5% green and 37.3% blue (64, 83, 95).
Its hue angle is 203°, with 19% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 13% magenta, 0% yellow and 63% black.
The closest named color is Dark Secret (#3E5361), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.01:1).
#40535F color codes
| HEX | #40535F | |
|---|---|---|
| RGB | rgb(64, 83, 95) | |
| RGB percent | rgb(25.1%, 32.5%, 37.3%) | |
| HSL | hsl(203, 19%, 31%) | |
| HSV / HSB | hsv(203, 33%, 37%) | |
| CMYK | cmyk(33%, 13%, 0%, 63%) | |
| CIE LAB | lab(34.2, -4.09, -9.36) | |
| CIE LCH | lch(34.2, 10.21, 246.39) | |
| CIE XYZ | xyz(7.273, 8.102, 12.005) | |
| Decimal | 4215647 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40535F, 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 #40535F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.62:1 | Fail | Fail | Fail |
| Sample text | 8.01:1 | Pass | Pass | Pass |
| #40535F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.01: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 #40535F looks to people with the most common types of color vision deficiency.
#4e5260Protanopia
no red cones#494f5fDeuteranopia
no green cones#365657Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #40535f; }
.text { color: #40535f; }
.border { border: 2px solid #40535f; }
.transparent { background-color: rgb(64 83 95 / 50%); }
.gradient { background: linear-gradient(to right, #40535f, #40435f); }
Similar colors
#3e5361Dark Secret#43535eNightfall#46565fGood Night!#3f5865Stargazer#37525fMoonlit Sonata#4b5a62Fiord#404c57Abyssal#344d58Nocturne
Closest common color name: Charcoal.
Questions
- What color is #40535F?
- #40535F is a dark, grayish azure, closest to the named color Dark Secret. It belongs to the gray family of colors.
- What is the RGB value of #40535F?
- The RGB value is 64, 83, 95: 64 red, 83 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #40535F?
- The complementary color is #5F4C40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40535F?
- White text. Black text has a contrast ratio of 2.62:1 and white text 8.01:1. WCAG asks for at least 4.5:1 for normal text.