#2F4770 color
The hex color #2F4770 is a dark, desaturated azure.
In the RGB color model it is made of 18.4% red, 27.8% green and 43.9% blue (47, 71, 112).
Its hue angle is 218°, with 41% saturation and 31% lightness. For print, the CMYK equivalent is 58% cyan, 37% magenta, 0% yellow and 56% black.
The closest named color is Midnight Interlude (#32496F), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.31:1).
#2F4770 color codes
| HEX | #2F4770 | |
|---|---|---|
| RGB | rgb(47, 71, 112) | |
| RGB percent | rgb(18.4%, 27.8%, 43.9%) | |
| HSL | hsl(218, 41%, 31%) | |
| HSV / HSB | hsv(218, 58%, 44%) | |
| CMYK | cmyk(58%, 37%, 0%, 56%) | |
| CIE LAB | lab(30.11, 4.13, -26.49) | |
| CIE LCH | lch(30.11, 26.81, 278.87) | |
| CIE XYZ | xyz(6.349, 6.28, 16.204) | |
| Decimal | 3098480 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F4770, 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 #2F4770 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.31:1 | Pass | Pass | Pass |
| #2F4770 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.31:1 | Pass | Pass | Pass |
| Sample text | 2.26: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 #2F4770 looks to people with the most common types of color vision deficiency.
#364a72Protanopia
no red cones#2e446fDeuteranopia
no green cones#065056Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #2f4770; }
.text { color: #2f4770; }
.border { border: 2px solid #2f4770; }
.transparent { background-color: rgb(47 71 112 / 50%); }
.gradient { background: linear-gradient(to right, #2f4770, #372f70); }
Similar colors
#32496fMidnight Interlude#2d4470Blue Funk#314a76Dragonfly#34466cForlorn Cruise#27426bNightlife#324471Space Missions#2e4a7dNautical#254770Pretty Twilight Night
Closest common color name: Prussian Blue.
Questions
- What color is #2F4770?
- #2F4770 is a dark, desaturated azure, closest to the named color Midnight Interlude. It belongs to the blue family of colors.
- What is the RGB value of #2F4770?
- The RGB value is 47, 71, 112: 47 red, 71 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #2F4770?
- The complementary color is #70582F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F4770?
- White text. Black text has a contrast ratio of 2.26:1 and white text 9.31:1. WCAG asks for at least 4.5:1 for normal text.