#405F6D color
The hex color #405F6D is a dark, desaturated azure.
In the RGB color model it is made of 25.1% red, 37.3% green and 42.7% blue (64, 95, 109).
Its hue angle is 199°, with 26% saturation and 34% lightness. For print, the CMYK equivalent is 41% cyan, 13% magenta, 0% yellow and 57% black.
The closest named color is Stargazer (#3F5865), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.83:1).
#405F6D color codes
| HEX | #405F6D | |
|---|---|---|
| RGB | rgb(64, 95, 109) | |
| RGB percent | rgb(25.1%, 37.3%, 42.7%) | |
| HSL | hsl(199, 26%, 34%) | |
| HSV / HSB | hsv(199, 41%, 43%) | |
| CMYK | cmyk(41%, 13%, 0%, 57%) | |
| CIE LAB | lab(38.51, -7.36, -11.54) | |
| CIE LCH | lch(38.51, 13.69, 237.48) | |
| CIE XYZ | xyz(8.966, 10.378, 15.996) | |
| Decimal | 4218733 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405F6D, 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 #405F6D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.08:1 | Fail | Fail | Pass |
| Sample text | 6.83:1 | Pass | Fail | Pass |
| #405F6D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.83:1 | Pass | Fail | Pass |
| Sample text | 3.08:1 | Fail | Fail | Pass |
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 #405F6D looks to people with the most common types of color vision deficiency.
#585e6eProtanopia
no red cones#51586dDeuteranopia
no green cones#2f6363Tritanopia
no blue cones#5b5b5bAchromatopsia
no color vision
CSS examples
.background { background-color: #405f6d; }
.text { color: #405f6d; }
.border { border: 2px solid #405f6d; }
.transparent { background-color: rgb(64 95 109 / 50%); }
.gradient { background: linear-gradient(to right, #405f6d, #40496d); }
Similar colors
#3f5865Stargazer#395d68Under the Sea#336172Atlantis#3b5760Great Void#4a5c6aSeven Seas#526771Silent Night#37525fMoonlit Sonata#2a5c6aNight Shift
Closest common color name: Charcoal.
Questions
- What color is #405F6D?
- #405F6D is a dark, desaturated azure, closest to the named color Stargazer. It belongs to the blue family of colors.
- What is the RGB value of #405F6D?
- The RGB value is 64, 95, 109: 64 red, 95 green and 109 blue on a 0 to 255 scale.
- What is the complementary color of #405F6D?
- The complementary color is #6D4E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405F6D?
- White text. Black text has a contrast ratio of 3.08:1 and white text 6.83:1. WCAG asks for at least 4.5:1 for normal text.