#3F4F71 color
The hex color #3F4F71 is a dark, desaturated blue.
In the RGB color model it is made of 24.7% red, 31% green and 44.3% blue (63, 79, 113).
Its hue angle is 221°, with 28% saturation and 35% lightness. For print, the CMYK equivalent is 44% cyan, 30% magenta, 0% yellow and 56% black.
The closest named color is Naval Blue (#384B6B), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.18:1).
#3F4F71 color codes
| HEX | #3F4F71 | |
|---|---|---|
| RGB | rgb(63, 79, 113) | |
| RGB percent | rgb(24.7%, 31%, 44.3%) | |
| HSL | hsl(221, 28%, 35%) | |
| HSV / HSB | hsv(221, 44%, 44%) | |
| CMYK | cmyk(44%, 30%, 0%, 56%) | |
| CIE LAB | lab(33.65, 3.52, -21.5) | |
| CIE LCH | lch(33.65, 21.79, 279.29) | |
| CIE XYZ | xyz(7.826, 7.841, 16.721) | |
| Decimal | 4149105 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3F4F71, 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 #3F4F71 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.18:1 | Pass | Pass | Pass |
| #3F4F71 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.18:1 | Pass | Pass | Pass |
| Sample text | 2.57: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 #3F4F71 looks to people with the most common types of color vision deficiency.
#435272Protanopia
no red cones#3e4d70Deuteranopia
no green cones#2e565bTritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #3f4f71; }
.text { color: #3f4f71; }
.border { border: 2px solid #3f4f71; }
.transparent { background-color: rgb(63 79 113 / 50%); }
.gradient { background: linear-gradient(to right, #3f4f71, #483f71); }
Similar colors
#384b6bNaval Blue#394d78Noble Knight#3a4866Bonne Nuit#3b476bStarlit Night#32496fMidnight Interlude#39527dSt. Tropaz#34466cForlorn Cruise#445780Sailor
Closest common color name: Dark Slate Blue.
Questions
- What color is #3F4F71?
- #3F4F71 is a dark, desaturated blue, closest to the named color Naval Blue. It belongs to the blue family of colors.
- What is the RGB value of #3F4F71?
- The RGB value is 63, 79, 113: 63 red, 79 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #3F4F71?
- The complementary color is #71613F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3F4F71?
- White text. Black text has a contrast ratio of 2.57:1 and white text 8.18:1. WCAG asks for at least 4.5:1 for normal text.