#2F3956 color
The hex color #2F3956 is a dark, desaturated blue.
In the RGB color model it is made of 18.4% red, 22.4% green and 33.7% blue (47, 57, 86).
Its hue angle is 225°, with 29% saturation and 26% lightness. For print, the CMYK equivalent is 45% cyan, 34% magenta, 0% yellow and 66% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.41:1).
#2F3956 color codes
| HEX | #2F3956 | |
|---|---|---|
| RGB | rgb(47, 57, 86) | |
| RGB percent | rgb(18.4%, 22.4%, 33.7%) | |
| HSL | hsl(225, 29%, 26%) | |
| HSV / HSB | hsv(225, 45%, 34%) | |
| CMYK | cmyk(45%, 34%, 0%, 66%) | |
| CIE LAB | lab(24.33, 4.53, -18.82) | |
| CIE LCH | lch(24.33, 19.35, 283.54) | |
| CIE XYZ | xyz(4.315, 4.202, 9.386) | |
| Decimal | 3094870 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F3956, 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 #2F3956 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.41:1 | Pass | Pass | Pass |
| #2F3956 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.41:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #2F3956 looks to people with the most common types of color vision deficiency.
#2f3c57Protanopia
no red cones#2b3855Deuteranopia
no green cones#223f43Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #2f3956; }
.text { color: #2f3956; }
.border { border: 2px solid #2f3956; }
.transparent { background-color: rgb(47 57 86 / 50%); }
.gradient { background: linear-gradient(to right, #2f3956, #392f56); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#273c5aNautilus#3e4364Genie#314159Pi#2c2e47Midnight Masquerade#3a4866Bonne Nuit#3d3d63Storm Is Coming
Closest common color name: Prussian Blue.
Questions
- What color is #2F3956?
- #2F3956 is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #2F3956?
- The RGB value is 47, 57, 86: 47 red, 57 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #2F3956?
- The complementary color is #564C2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F3956?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.41:1. WCAG asks for at least 4.5:1 for normal text.