#40485A color
The hex color #40485A is a dark, grayish blue.
In the RGB color model it is made of 25.1% red, 28.2% green and 35.3% blue (64, 72, 90).
Its hue angle is 222°, with 17% saturation and 30% lightness. For print, the CMYK equivalent is 29% cyan, 20% magenta, 0% yellow and 65% black.
The closest named color is Lava Stone (#3C4151), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.16:1).
#40485A color codes
| HEX | #40485A | |
|---|---|---|
| RGB | rgb(64, 72, 90) | |
| RGB percent | rgb(25.1%, 28.2%, 35.3%) | |
| HSL | hsl(222, 17%, 30%) | |
| HSV / HSB | hsv(222, 29%, 35%) | |
| CMYK | cmyk(29%, 20%, 0%, 65%) | |
| CIE LAB | lab(30.55, 1.45, -11.71) | |
| CIE LCH | lch(30.55, 11.8, 277.06) | |
| CIE XYZ | xyz(6.277, 6.463, 10.588) | |
| Decimal | 4212826 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40485A, 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 #40485A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.29:1 | Fail | Fail | Fail |
| Sample text | 9.16:1 | Pass | Pass | Pass |
| #40485A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.16:1 | Pass | Pass | Pass |
| Sample text | 2.29: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 #40485A looks to people with the most common types of color vision deficiency.
#42495bProtanopia
no red cones#40475aDeuteranopia
no green cones#394c4eTritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #40485a; }
.text { color: #40485a; }
.border { border: 2px solid #40485a; }
.transparent { background-color: rgb(64 72 90 / 50%); }
.gradient { background: linear-gradient(to right, #40485a, #45405a); }
Similar colors
#3c4151Lava Stone#424753Midnight Sky#3f4551Dark Crypt#3f4250Madonna#353f51Dark & Stormy#3e4855Starless Night#3a4a63Silent Sea#41434eMidnight Serenade
Closest common color name: Charcoal.
Questions
- What color is #40485A?
- #40485A is a dark, grayish blue, closest to the named color Lava Stone. It belongs to the gray family of colors.
- What is the RGB value of #40485A?
- The RGB value is 64, 72, 90: 64 red, 72 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #40485A?
- The complementary color is #5A5240, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40485A?
- White text. Black text has a contrast ratio of 2.29:1 and white text 9.16:1. WCAG asks for at least 4.5:1 for normal text.