#2F4161 color
The hex color #2F4161 is a dark, desaturated azure.
In the RGB color model it is made of 18.4% red, 25.5% green and 38% blue (47, 65, 97).
Its hue angle is 218°, with 35% saturation and 28% lightness. For print, the CMYK equivalent is 52% cyan, 33% magenta, 0% yellow and 62% black.
The closest named color is Black Turmeric (#2C4364), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.25:1).
#2F4161 color codes
| HEX | #2F4161 | |
|---|---|---|
| RGB | rgb(47, 65, 97) | |
| RGB percent | rgb(18.4%, 25.5%, 38%) | |
| HSL | hsl(218, 35%, 28%) | |
| HSV / HSB | hsv(218, 52%, 38%) | |
| CMYK | cmyk(52%, 33%, 0%, 62%) | |
| CIE LAB | lab(27.43, 2.86, -21.13) | |
| CIE LCH | lch(27.43, 21.32, 277.7) | |
| CIE XYZ | xyz(5.22, 5.248, 12.045) | |
| Decimal | 3096929 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F4161, 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 #2F4161 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.05:1 | Fail | Fail | Fail |
| Sample text | 10.25:1 | Pass | Pass | Pass |
| #2F4161 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.25:1 | Pass | Pass | Pass |
| Sample text | 2.05: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 #2F4161 looks to people with the most common types of color vision deficiency.
#354362Protanopia
no red cones#2f3f60Deuteranopia
no green cones#1a484cTritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #2f4161; }
.text { color: #2f4161; }
.border { border: 2px solid #2f4161; }
.transparent { background-color: rgb(47 65 97 / 50%); }
.gradient { background: linear-gradient(to right, #2f4161, #362f61); }
Similar colors
#2c4364Black Turmeric#273c5aNautilus#34466cForlorn Cruise#314662Stay the Night#3a4866Bonne Nuit#27426bNightlife#314159Pi#2d4470Blue Funk
Closest common color name: Prussian Blue.
Questions
- What color is #2F4161?
- #2F4161 is a dark, desaturated azure, closest to the named color Black Turmeric. It belongs to the blue family of colors.
- What is the RGB value of #2F4161?
- The RGB value is 47, 65, 97: 47 red, 65 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #2F4161?
- The complementary color is #614F2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F4161?
- White text. Black text has a contrast ratio of 2.05:1 and white text 10.25:1. WCAG asks for at least 4.5:1 for normal text.