#2F373F color
The hex color #2F373F is a dark, grayish azure.
In the RGB color model it is made of 18.4% red, 21.6% green and 24.7% blue (47, 55, 63).
Its hue angle is 210°, with 15% saturation and 22% lightness. For print, the CMYK equivalent is 25% cyan, 13% magenta, 0% yellow and 75% black.
The closest named color is Tempest in a Teapot (#303A40), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.08:1).
#2F373F color codes
| HEX | #2F373F | |
|---|---|---|
| RGB | rgb(47, 55, 63) | |
| RGB percent | rgb(18.4%, 21.6%, 24.7%) | |
| HSL | hsl(210, 15%, 22%) | |
| HSV / HSB | hsv(210, 25%, 25%) | |
| CMYK | cmyk(25%, 13%, 0%, 75%) | |
| CIE LAB | lab(22.64, -1.23, -6.1) | |
| CIE LCH | lch(22.64, 6.22, 258.64) | |
| CIE XYZ | xyz(3.435, 3.695, 5.234) | |
| Decimal | 3094335 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F373F, 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 #2F373F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.08:1 | Pass | Pass | Pass |
| #2F373F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.08:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #2F373F looks to people with the most common types of color vision deficiency.
#34373fProtanopia
no red cones#32353fDeuteranopia
no green cones#2b393aTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #2f373f; }
.text { color: #2f373f; }
.border { border: 2px solid #2f373f; }
.transparent { background-color: rgb(47 55 63 / 50%); }
.gradient { background: linear-gradient(to right, #2f373f, #2f2f3f); }
Similar colors
#303a40Tempest in a Teapot#363b43Do Not Disturb#2a3439Gunmetal#37393eArtist’s Charcoal#293135Nightmare Fuel#36383cVulcan#38393fAfter Midnight#243640Petrol Slumber
Questions
- What color is #2F373F?
- #2F373F is a dark, grayish azure, closest to the named color Tempest in a Teapot. It belongs to the gray family of colors.
- What is the RGB value of #2F373F?
- The RGB value is 47, 55, 63: 47 red, 55 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #2F373F?
- The complementary color is #3F372F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F373F?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.08:1. WCAG asks for at least 4.5:1 for normal text.