#2F3747 color
The hex color #2F3747 is a dark, grayish blue.
In the RGB color model it is made of 18.4% red, 21.6% green and 27.8% blue (47, 55, 71).
Its hue angle is 220°, with 20% saturation and 23% lightness. For print, the CMYK equivalent is 34% cyan, 23% magenta, 0% yellow and 72% black.
The closest named color is Total Eclipse (#303543), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.94:1).
#2F3747 color codes
| HEX | #2F3747 | |
|---|---|---|
| RGB | rgb(47, 55, 71) | |
| RGB percent | rgb(18.4%, 21.6%, 27.8%) | |
| HSL | hsl(220, 20%, 23%) | |
| HSV / HSB | hsv(220, 34%, 28%) | |
| CMYK | cmyk(34%, 23%, 0%, 72%) | |
| CIE LAB | lab(22.97, 1.11, -10.97) | |
| CIE LCH | lch(22.97, 11.02, 275.77) | |
| CIE XYZ | xyz(3.675, 3.792, 6.498) | |
| Decimal | 3094343 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F3747, 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 #2F3747 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.94:1 | Pass | Pass | Pass |
| #2F3747 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.94:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #2F3747 looks to people with the most common types of color vision deficiency.
#323848Protanopia
no red cones#2f3647Deuteranopia
no green cones#283a3cTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #2f3747; }
.text { color: #2f3747; }
.border { border: 2px solid #2f3747; }
.transparent { background-color: rgb(47 55 71 / 50%); }
.gradient { background: linear-gradient(to right, #2f3747, #332f47); }
Similar colors
#303543Total Eclipse#353f51Dark & Stormy#393f4bInkblot#3c4151Lava Stone#363b43Do Not Disturb#3f4250Madonna#333344Shuriken#314159Pi
Closest common color name: Charcoal.
Questions
- What color is #2F3747?
- #2F3747 is a dark, grayish blue, closest to the named color Total Eclipse. It belongs to the gray family of colors.
- What is the RGB value of #2F3747?
- The RGB value is 47, 55, 71: 47 red, 55 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #2F3747?
- The complementary color is #473F2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F3747?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.94:1. WCAG asks for at least 4.5:1 for normal text.