#406262 color
The hex color #406262 is a dark, grayish cyan.
In the RGB color model it is made of 25.1% red, 38.4% green and 38.4% blue (64, 98, 98).
Its hue angle is 180°, with 21% saturation and 32% lightness. For print, the CMYK equivalent is 35% cyan, 0% magenta, 0% yellow and 62% black.
The closest named color is Rosemary (#405E5C), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.68:1).
#406262 color codes
| HEX | #406262 | |
|---|---|---|
| RGB | rgb(64, 98, 98) | |
| RGB percent | rgb(25.1%, 38.4%, 38.4%) | |
| HSL | hsl(180, 21%, 32%) | |
| HSV / HSB | hsv(180, 35%, 38%) | |
| CMYK | cmyk(35%, 0%, 0%, 62%) | |
| CIE LAB | lab(39.08, -12.21, -3.92) | |
| CIE LCH | lch(39.08, 12.82, 197.8) | |
| CIE XYZ | xyz(8.686, 10.707, 13.162) | |
| Decimal | 4219490 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #406262, 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 #406262 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.14:1 | Fail | Fail | Pass |
| Sample text | 6.68:1 | Pass | Fail | Pass |
| #406262 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.68:1 | Pass | Fail | Pass |
| Sample text | 3.14: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 #406262 looks to people with the most common types of color vision deficiency.
#5e5f62Protanopia
no red cones#575a62Deuteranopia
no green cones#336462Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #406262; }
.text { color: #406262; }
.border { border: 2px solid #406262; }
.transparent { background-color: rgb(64 98 98 / 50%); }
.gradient { background: linear-gradient(to right, #406262, #405162); }
Similar colors
#405e5cRosemary#345c61Arctic Nights#39636aMediterranea#475c5dWoodland Night#33616aAfter the Storm#315955Enchanting Ivy#2e5c58Lacrosse#3e6d6aMoonlit Forest
Closest common color name: Dark Slate Gray.
Questions
- What color is #406262?
- #406262 is a dark, grayish cyan, closest to the named color Rosemary. It belongs to the gray family of colors.
- What is the RGB value of #406262?
- The RGB value is 64, 98, 98: 64 red, 98 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #406262?
- The complementary color is #624040, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #406262?
- White text. Black text has a contrast ratio of 3.14:1 and white text 6.68:1. WCAG asks for at least 4.5:1 for normal text.