#2F313F color
The hex color #2F313F is a dark, grayish blue.
In the RGB color model it is made of 18.4% red, 19.2% green and 24.7% blue (47, 49, 63).
Its hue angle is 233°, with 15% saturation and 22% lightness. For print, the CMYK equivalent is 25% cyan, 22% magenta, 0% yellow and 75% black.
The closest named color is Total Eclipse (#303543), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.87:1).
#2F313F color codes
| HEX | #2F313F | |
|---|---|---|
| RGB | rgb(47, 49, 63) | |
| RGB percent | rgb(18.4%, 19.2%, 24.7%) | |
| HSL | hsl(233, 15%, 22%) | |
| HSV / HSB | hsv(233, 25%, 25%) | |
| CMYK | cmyk(25%, 22%, 0%, 75%) | |
| CIE LAB | lab(20.67, 2.83, -9.08) | |
| CIE LCH | lch(20.67, 9.51, 287.33) | |
| CIE XYZ | xyz(3.168, 3.16, 5.145) | |
| Decimal | 3092799 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F313F, 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 #2F313F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.87:1 | Pass | Pass | Pass |
| #2F313F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.87:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #2F313F looks to people with the most common types of color vision deficiency.
#2d3240Protanopia
no red cones#2c313fDeuteranopia
no green cones#2b3336Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #2f313f; }
.text { color: #2f313f; }
.border { border: 2px solid #2f313f; }
.transparent { background-color: rgb(47 49 63 / 50%); }
.gradient { background: linear-gradient(to right, #2f313f, #352f3f); }
Similar colors
#303543Total Eclipse#333344Shuriken#35343fWitches Cauldron#2c2a35Haiti#393540Professor Plum#21263aMidnight Express#1e2433Moonless Mystery#29292fJaguar
Closest common color name: Jet Black.
Questions
- What color is #2F313F?
- #2F313F 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 #2F313F?
- The RGB value is 47, 49, 63: 47 red, 49 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #2F313F?
- The complementary color is #3F3D2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F313F?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.87:1. WCAG asks for at least 4.5:1 for normal text.