Palette maker

#2F3136 Color: Discord Dark Gray Hex Code, RGB and Palettes

is a very dark, cool gray with an RGB value of 47, 49, 54 and an HSL value of 223°, 7%, 20%. Most people know it as the Discord dark gray, the shade used for the old sidebar and embed boxes.

On this page
  1. Codes
  2. Appearance
  3. Discord
  4. Close colors
  5. Contrast
  6. Web and UI
  7. Pairings
  8. Branding
  9. Printing
  10. Embed color
  11. FAQ

It is almost neutral, with just enough blue to feel calm instead of flat. Use the palette maker above to build matching schemes from it, then read on for exact codes, close neighbors, contrast ratios and print behavior.

#2F3136 Color Codes in HEX, RGB, HSL and CMYK

The hex code splits into three pairs: 2F is 47 for red, 31 is 49 for green and 36 is 54 for blue. Blue leads red by seven steps, which is what gives this gray its cool lean. Every value below was calculated straight from those three numbers.

Format Value
HEX
RGB rgb(47, 49, 54)
HSL hsl(223, 7%, 20%)
CMYK (basic conversion) 13%, 9%, 0%, 79%
Decimal 3092790
Hex number (code) 0x2F3136

In RGB terms the color is made of about 18.4% red, 19.2% green and 21.2% blue. It is not an official CSS color name. The closest named CSS color is darkslategray, which is noticeably greener.

What #2F3136 Looks Like and How It Feels

At 20% lightness, sits between charcoal and near-black. One color tool describes it as a very dark grayish blue, and that is a fair description when it sits next to a true neutral gray. On its own, with only 7% saturation, most people read it as plain dark gray.

The mood is quiet, technical and a little nocturnal. It avoids the harshness of pure black, so large areas of it feel soft on the eyes, and it makes light text and bright accents stand out without strain.

Quick read

is a dark, low-saturation blue-gray: neutral at a glance, cool beside warm colors, and soft enough for full-screen backgrounds.

Why #2F3136 Is Called the Discord Dark Gray

Before 2023, Discord used for the chat canvas, for sidebars and for the server rail. That stack of three close grays is why this exact code shows up in theme files, fan palettes and bot tutorials.

Discord has since moved on. Its primary dark background is now , and the channel sidebar stepped down to . The brand accent, blurple, is . So is best described as the classic Discord gray: still widely copied, no longer the live value.

Colors Close to #2F3136 and How They Differ

Dark grays are hard to tell apart on a swatch, but they behave differently in a layout. These are the neighbors worth knowing:

  • : the old chat canvas, one step lighter. Its sibling page on #36393E shows how a single digit barely moves it.
  • : the newer sidebar, slightly darker and just as cool.
  • : the current canvas, a hair lighter than .
  • : the old server rail, clearly darker.
  • #1A1A1A: a true neutral near-black with no blue at all.
  • #4A4A4A: a mid-dark neutral gray, good for borders and secondary text on this background.

Outside the Discord family, charcoal is lighter and more teal, gunmetal leans green, and onyx is warmer. If your design needs the Discord feel, stay with the cool blue-gray grays. If it needs a pure neutral, jump to .

Three dark gray swatches comparing #2F3136 with the darker #2B2D31 and the lighter #36393F, each labeled with its difference
#2F3136 sits between a slightly darker sidebar gray and a lighter chat gray, only 1.12:1 apart.

Contrast and WCAG Accessibility for #2F3136

The relative luminance of is about 0.031, which is dark enough that almost any light text clears the bar. WCAG asks for 4.5:1 for normal text at level AA and 7:1 at AAA. These are ratios I calculated against :

  • White : about 13.0:1
  • Old Discord text gray : about 9.6:1
  • Pink : about 5.9:1
  • Discord blurple : about 2.8:1
  • Black : about 1.61:1
  • Chat gray : about 1.12:1

Blurple is the trap. It looks bright on dark gray but falls under even the 3:1 minimum for large text and icons. White text on a blurple button works, at roughly 4.6:1, so keep blurple as a fill and not as thin text or a link color.

Which text color is the safest choice on a #2F3136 background?

White reaches about 13.0:1 on #2F3136, while blurple sits near 2.8:1 and the chat gray is almost invisible at 1.12:1.

On a client dashboard I audited, thin blue links on a dark gray like this failed every check. Lightening the link color to a pale blue tint fixed it without touching the brand palette.

Using #2F3136 in Web and App Interfaces

works best as a secondary surface: sidebars, cards, modals and input fields that sit on top of a slightly lighter or darker page. Layering several close grays, as Discord does, separates regions without drop shadows. Keep the steps small, because the difference between and is only 1.12:1.

I avoid pure black as a page background when the content is text-heavy, since very bright text on can shimmer. Here is a compact starting set:

:root {
  --surface-1: #202225;
  --surface-2: #2F3136;
  --surface-3: #36393F;
  --text: #DCDDDE;
  --accent: #5865F2;
}

.sidebar {
  background: var(--surface-2);
  color: var(--text);
  border-right: 1px solid var(--surface-1);
}

Always test the final screen at low brightness and in a bright room. A dark gray that looks rich on a design monitor can look muddy on a cheap laptop panel.

Colors That Pair Well With #2F3136

Light neutrals are the safest partners. #EDEDED gives soft, readable text and clean dividers, while pure white is sharper and more formal. A warm accent such as amber or coral contrasts well with the cool gray, and a soft pink like #FC8CAB clears AA on it for text.

Old Discord Stack

Dark app layouts, chat themes and dashboards with a blurple action color.

Slate and Amber

Portfolio sites and pricing pages that need one warm call to action.

Night Mint

Developer tools, status screens and terminal-style interfaces.

Quiet Studio

Brand decks, packaging mockups and calm editorial layouts with a soft accent.

Cool accents work too, but pick lighter, slightly desaturated versions so they don’t vibrate against the background. Mint is a good example. Use one accent per screen for actions, and let the grays do the rest of the work.

Try this: Fill a rectangle with and set one line of 16px text on it in white, then in , then in . Squint or step back from the screen and note which one you would still read at 11 p.m. after a long day.

#2F3136 in Branding, Interiors and Fashion

In branding, is rarely a logo color. It does the quiet work of a dark-mode surface, a footer, a presentation background or a packaging base. It suits tech, gaming, music and software brands, where a deep gray signals focus without the weight of black. For a blue-gray accent that stays in the same family, a muted navy like #586288 is a natural companion.

Flat jersey in dark gray #2F3136 with a light gray stripe and amber trim, each color labeled with its hex code
Let #2F3136 carry the base, then add one light neutral and one warm accent.

On a wall, a color like this reads as deep charcoal-blue and changes a lot with light. North-facing rooms push it cooler, while warm bulbs soften it toward neutral, so test a large sample before committing. In clothing it behaves like dark denim or a charcoal wool coat: pair it with cream, camel or light gray for a calm, layered look.

Printing #2F3136: CMYK and Proofing Surprises

A basic conversion gives roughly C13 M9 Y0 K79. That is only a starting point, because real CMYK output depends on the paper, the inks and the color profile used for the conversion. Dark, low-saturation colors are the most sensitive to this, since small shifts in cyan or magenta change the tint.

On one proof of a dark gray cover, the cool blue lean almost vanished and the color came out flat and brownish. The fix was a profile-based conversion and a small cyan boost after seeing the physical sample. If your design needs a standard dark ink rather than this exact gray, #231F20 is a common screen stand-in for CMYK black. Always ask for a hard proof when the gray covers a large area.

Using #2F3136 as a Discord Embed Color

Bots do not take hex strings for embed colors. Discord’s API requires the color as an integer (decimal) format, so becomes 3092790. Most libraries also accept the 0x form, which is easier to read and check:

How does the Discord API expect an embed color to be given?

The API wants a number, so #2F3136 becomes 3092790 (or 0x2F3136 in code).

const embed = new EmbedBuilder()
  .setColor(0x2F3136)
  .setDescription("Looks like it has no border.");

This was the classic invisible embed trick: match the side strip to the embed background so the border disappears. The current dark-theme embed background is , where was the historical value. For today’s dark mode, use (integer 2829617). In light theme, any dark strip will show, so the trick only works for dark mode users.

Colors close to this code

#2F3136 Color: questions people ask

What color is 2F3136?

2F3136 is a very dark, cool gray with RGB values of 47, 49, 54. It has a slight blue lean (hue 223°) and only 7% saturation, so it reads as a soft charcoal rather than a true blue.

Is #2F3136 the Discord dark mode color?

It was the sidebar and embed gray in Discord's older dark theme. Current Discord dark mode uses #313338 for the main canvas and #2B2D31 for the sidebar, so #2F3136 is now mostly a legacy value.

What is the RGB value of #2F3136?

The RGB value is rgb(47, 49, 54). In HSL it is hsl(223, 7%, 20%), and a basic CMYK conversion gives about 13%, 9%, 0%, 79%.

Is #2F3136 accessible with white text?

Yes. White text on #2F3136 has a contrast ratio of about 13.0:1, which passes WCAG AA and AAA for normal text. Colored text such as Discord blurple falls well short at roughly 2.8:1.

How do I make an invisible Discord embed with #2F3136?

Set the embed color to the integer 3092790 (0x2F3136) so the side strip matches the old dark embed background. On the current dark theme, use #2B2D31 (integer 2829617) instead, because the embed background changed.

Keep exploring