#3F405D color
The hex color #3F405D is a dark, grayish blue.
In the RGB color model it is made of 24.7% red, 25.1% green and 36.5% blue (63, 64, 93).
Its hue angle is 238°, with 19% saturation and 31% lightness. For print, the CMYK equivalent is 32% cyan, 31% magenta, 0% yellow and 64% black.
The closest named color is Genie (#3E4364), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.99:1).
#3F405D color codes
| HEX | #3F405D | |
|---|---|---|
| RGB | rgb(63, 64, 93) | |
| RGB percent | rgb(24.7%, 25.1%, 36.5%) | |
| HSL | hsl(238, 19%, 31%) | |
| HSV / HSB | hsv(238, 32%, 36%) | |
| CMYK | cmyk(32%, 31%, 0%, 64%) | |
| CIE LAB | lab(28.15, 7.2, -17.33) | |
| CIE LCH | lch(28.15, 18.77, 292.57) | |
| CIE XYZ | xyz(5.859, 5.514, 11.109) | |
| Decimal | 4145245 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3F405D, 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 #3F405D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 9.99:1 | Pass | Pass | Pass |
| #3F405D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.99:1 | Pass | Pass | Pass |
| Sample text | 2.1: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 #3F405D looks to people with the most common types of color vision deficiency.
#38435eProtanopia
no red cones#36415cDeuteranopia
no green cones#38454aTritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #3f405d; }
.text { color: #3f405d; }
.border { border: 2px solid #3f405d; }
.transparent { background-color: rgb(63 64 93 / 50%); }
.gradient { background: linear-gradient(to right, #3f405d, #4d3f5d); }
Similar colors
#3e4364Genie#3d3d63Storm Is Coming#2e3858Mediaeval Blue#3b476bStarlit Night#2b3458Midnight Escapade#3f354fMaharaja#3a4866Bonne Nuit#4d516cIntergalactic
Closest common color name: Dark Slate Blue.
Questions
- What color is #3F405D?
- #3F405D is a dark, grayish blue, closest to the named color Genie. It belongs to the blue family of colors.
- What is the RGB value of #3F405D?
- The RGB value is 63, 64, 93: 63 red, 64 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #3F405D?
- The complementary color is #5D5C3F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3F405D?
- White text. Black text has a contrast ratio of 2.1:1 and white text 9.99:1. WCAG asks for at least 4.5:1 for normal text.