#40535A color
The hex color #40535A is a dark, grayish azure.
In the RGB color model it is made of 25.1% red, 32.5% green and 35.3% blue (64, 83, 90).
Its hue angle is 196°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 29% cyan, 8% magenta, 0% yellow and 65% black.
The closest named color is Descent Into the Catacombs (#445155), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.07:1).
#40535A color codes
| HEX | #40535A | |
|---|---|---|
| RGB | rgb(64, 83, 90) | |
| RGB percent | rgb(25.1%, 32.5%, 35.3%) | |
| HSL | hsl(196, 17%, 30%) | |
| HSV / HSB | hsv(196, 29%, 35%) | |
| CMYK | cmyk(29%, 8%, 0%, 65%) | |
| CIE LAB | lab(34.01, -5.47, -6.48) | |
| CIE LCH | lch(34.01, 8.48, 229.86) | |
| CIE XYZ | xyz(7.053, 8.014, 10.846) | |
| Decimal | 4215642 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40535A, 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 #40535A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.07:1 | Pass | Pass | Pass |
| #40535A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.07:1 | Pass | Pass | Pass |
| Sample text | 2.6: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 #40535A looks to people with the most common types of color vision deficiency.
#4f525aProtanopia
no red cones#4b4f5aDeuteranopia
no green cones#385555Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #40535a; }
.text { color: #40535a; }
.border { border: 2px solid #40535a; }
.transparent { background-color: rgb(64 83 90 / 50%); }
.gradient { background: linear-gradient(to right, #40535a, #40465a); }
Similar colors
#445155Descent Into the Catacombs#46565fGood Night!#445055Obsidian#3b5760Great Void#43535eNightfall#37525fMoonlit Sonata#344d58Nocturne#3f5865Stargazer
Closest common color name: Charcoal.
Questions
- What color is #40535A?
- #40535A is a dark, grayish azure, closest to the named color Descent Into the Catacombs. It belongs to the gray family of colors.
- What is the RGB value of #40535A?
- The RGB value is 64, 83, 90: 64 red, 83 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #40535A?
- The complementary color is #5A4740, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40535A?
- White text. Black text has a contrast ratio of 2.6:1 and white text 8.07:1. WCAG asks for at least 4.5:1 for normal text.