#2F3F48 color
The hex color #2F3F48 is a dark, grayish azure.
In the RGB color model it is made of 18.4% red, 24.7% green and 28.2% blue (47, 63, 72).
Its hue angle is 202°, with 21% saturation and 23% lightness. For print, the CMYK equivalent is 35% cyan, 12% magenta, 0% yellow and 72% black.
The closest named color is Charcoal (#36454F), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.91:1).
#2F3F48 color codes
| HEX | #2F3F48 | |
|---|---|---|
| RGB | rgb(47, 63, 72) | |
| RGB percent | rgb(18.4%, 24.7%, 28.2%) | |
| HSL | hsl(202, 21%, 23%) | |
| HSV / HSB | hsv(202, 35%, 28%) | |
| CMYK | cmyk(35%, 12%, 0%, 72%) | |
| CIE LAB | lab(25.64, -3.88, -7.57) | |
| CIE LCH | lch(25.64, 8.51, 242.89) | |
| CIE XYZ | xyz(4.119, 4.627, 6.806) | |
| Decimal | 3096392 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F3F48, 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 #2F3F48 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.93:1 | Fail | Fail | Fail |
| Sample text | 10.91:1 | Pass | Pass | Pass |
| #2F3F48 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.91:1 | Pass | Pass | Pass |
| Sample text | 1.93: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 #2F3F48 looks to people with the most common types of color vision deficiency.
#3b3e48Protanopia
no red cones#373c48Deuteranopia
no green cones#274142Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #2f3f48; }
.text { color: #2f3f48; }
.border { border: 2px solid #2f3f48; }
.transparent { background-color: rgb(47 63 72 / 50%); }
.gradient { background: linear-gradient(to right, #2f3f48, #2f3248); }
Similar colors
#36454fCharcoal#303a40Tempest in a Teapot#243640Petrol Slumber#253f4eDepths of the Nile#3b444bArsenic#203943Astral Nomad#1e3642Into the Night#3d474bLights Out
Questions
- What color is #2F3F48?
- #2F3F48 is a dark, grayish azure, closest to the named color Charcoal. It belongs to the gray family of colors.
- What is the RGB value of #2F3F48?
- The RGB value is 47, 63, 72: 47 red, 63 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #2F3F48?
- The complementary color is #48382F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F3F48?
- White text. Black text has a contrast ratio of 1.93:1 and white text 10.91:1. WCAG asks for at least 4.5:1 for normal text.