Instagram Dark Mode Colors: #000000 Canvas, #0095F6 Blue & Story Gradient
What is the Instagram dark mode hex code?
Instagram dark mode uses a true-black #000000 background, #121212 sheets, #262626 elevated buttons/menus, #FFFFFF/#F5F5F5 primary text, #A8A8A8 secondary text, and #0095F6 action blue. The story-ring gradient runs #FEDA77 → #F58529 → #DD2A7B → #8134AF → #515BD4.
- Background: #000000
- Blue: #0095F6
- Magenta: #DD2A7B
Copy every Instagram dark mode hex code—true-black canvas #000000, elevated surfaces #121212 and #262626, action blue #0095F6, and the 5-stop Story ring gradient—with WCAG 2.1 contrast ratios.
Instagram Dark Mode — Quick Copy
Backgrounds, blue accent, and text tokens from Instagram dark theme. Click Copy on any row.
Why Instagram Uses True Black (#000000) Instead of Dark Gray
While workspace apps like Discord (#313338) and Slack (#1A1D21) use tinted grays to soften long-form text reading, Instagram builds its dark theme on pure achromatic black (#000000) for two optical reasons:
- Zero simultaneous-contrast color cast: Every surface in Instagram's dark palette is strictly achromatic (
R = G = B:#000000,#121212,#1A1A1A,#262626,#363636). A blue-gray or warm-gray background would shift how human eyes perceive skin tones and white balance in photographers' 4:5 portraits and 9:16 Reels. - Frameless OLED immersion: On iPhone and Android OLED panels,
#000000switches pixels completely off. Letterboxed videos and carousel frames merge seamlessly into the physical hardware bezel rather than sitting inside a glowing gray rectangle.
Surface Elevation Steps on a #000000 Canvas
Because you cannot cast a visible dark drop shadow onto #000000, Instagram separates overlays and interactive controls using larger luminance jumps than gray-based apps: bottom sheets and comment drawers step up to #121212 (1.13:1 against black), search bars use #1A1A1A (1.24:1), secondary action pills (“Following”, “Message”) and popovers jump to #262626 (1.43:1), and 1px structural dividers sit at #363636 (1.77:1).
Full Instagram Dark Mode UI Palette + WCAG Contrast
All neutral surfaces, typography tokens, and action colors measured against #000000 (feed canvas) and #121212 (sheets/cards).
| Swatch | Token | Hex | On #000000 |
|---|---|---|---|
| Main background | #000000 | base | |
| Surface / bottom sheet | #121212 | 1.12:1 | |
| Secondary surface | #1A1A1A | 1.21:1 | |
| Elevated surface | #262626 | 1.39:1 | |
| Border / hairline divider | #363636 | 1.74:1 | |
| Text primary (mobile) | #FFFFFF | 21.00:1AAA | |
| Text primary (web) | #F5F5F5 | 19.26:1AAA | |
| Text secondary | #A8A8A8 | 8.83:1AAA | |
| Text muted / hint | #737373 | 4.43:1AA Large | |
| Primary action blue White #FFFFFF on #0095F6 button = 3.29:1 (AA Large) | #0095F6 | 6.63:1AA | |
| Pressed / link blue White #FFFFFF on #1877F2 = 4.15:1 | #1877F2 | 4.96:1AA | |
| Like / notification red | #ED4956 | 5.69:1AA | |
| Close Friends green | #1CD14F | 10.28:1AAA |
WCAG Contrast Analysis: Why #0095F6 Works as a Link Yet Needs Care on Buttons
Inspecting the contrast table above highlights an important distinction for UI engineers borrowing Instagram's action blue (#0095F6):
- As text on dark surfaces (Passes AA): When
#0095F6is used for inline@mentions,#hashtags, or text-only “Follow” links, it achieves 6.38:1 on#000000and 5.64:1 on#121212—comfortably passing the 4.5:1 WCAG AA requirement for normal body text. - As a filled button background with white text (3.29:1): Because
#0095F6is bright enough to read against black, placing white#FFFFFFtext inside a solid#0095F6Follow button yields 3.29:1 (passing only the 3:1 large/bold threshold). If your product requires strict 4.5:1 AA on 14px button labels, use#0095F6for links on dark backgrounds and darken solid button fills to#0074CC(5.01:1 with white text). - Desktop Web vs. Mobile App primary text: On iOS and Android, Instagram uses pure
#FFFFFF(21:1) for usernames and captions, while the desktop web client softens primary text to #F5F5F5 (19.26:1) to reduce halation on large desktop monitors. Secondary text #A8A8A8 clears WCAG AAA on both canvas (8.94:1) and sheets (7.91:1).
Instagram Story-Ring Gradient Hex Codes & CSS Implementation
Because Instagram's dark UI is otherwise completely achromatic, the 5-stop Story ring gradient carries nearly all of the brand's warmth. It transitions at a 45° angle from lower-left warm yellow (#FEDA77) through sunset orange (#F58529), signature magenta (#DD2A7B), and royal purple (#8134AF) to cool indigo (#515BD4).
Instagram 5-Stop Story Gradient Hex Codes
Ordered from 0% (bottom-left warm yellow) to 100% (top-right indigo blue) along a 45-degree axis.
| Swatch | Token | Hex | On #000000 |
|---|---|---|---|
| Gradient stop 1 — Warm Yellow | #FEDA77 | 15.51:1AAA | |
| Gradient stop 2 — Sunset Orange | #F58529 | 8.27:1AAA | |
| Gradient stop 3 — Brand Magenta | #DD2A7B | 4.69:1AA | |
| Gradient stop 4 — Royal Purple | #8134AF | 3.04:1AA Large | |
| Gradient stop 5 — Deep Indigo Blue | #515BD4 | 3.80:1AA Large |
Copy-Ready CSS Tokens & Dark-Mode Avatar Ring
A common mistake when implementing Instagram-style story rings in dark mode is leaving a white inner gap border around the avatar image. In dark mode, the inner separator border must switch to var(--ig-bg-canvas) (#000000) so the cutout blends into the feed background:
:root[data-theme="instagram-dark"] {
--ig-bg-canvas: #000000;
--ig-bg-surface: #121212;
--ig-bg-input: #1a1a1a;
--ig-bg-elevated: #262626;
--ig-border: #363636;
--ig-text-primary: #f5f5f5; /* 19.26:1 on #000000 (AAA) */
--ig-text-secondary: #a8a8a8; /* 8.94:1 on #000000 (AAA) */
--ig-text-muted: #737373; /* 4.44:1 on #000000 */
--ig-blue: #0095f6; /* 6.38:1 as link text on #000000 (AA) */
--ig-like-red: #ed4956; /* 5.21:1 on #000000 (AA) */
--ig-story-gradient: linear-gradient(
45deg,
#feda77 0%,
#f58529 25%,
#dd2a7b 50%,
#8134af 75%,
#515bd4 100%
);
}
/* Dark-mode story ring with #000000 inner cutout */
.story-avatar-ring {
padding: 2px;
border-radius: 9999px;
background: var(--ig-story-gradient);
}
.story-avatar-ring > img {
border: 2px solid var(--ig-bg-canvas);
border-radius: 9999px;
}True black saves battery on OLED phones, though some web teams prefer starting at #121212 on desktop to avoid black smearing during fast scroll. Verify any custom text pairs with our WCAG contrast checker, and compare with Discord, WhatsApp, YouTube, and our 12-app dark mode comparison.
Instagram Color Palette for UI Inspiration
Three ways to adapt Instagram dark mode colors for social, media, and creator products.
True-black photo & video feed
Mirror Instagram’s zero-hue neutral stack (#000000 canvas, #121212 sheets, #262626 secondary pills) so user photography and video grading never pick up a color cast from surrounding UI.
Story-ring gradient accent system
Keep 95% of the interface achromatic (#000000 to #262626), then apply the 5-stop gradient (#FEDA77 → #DD2A7B → #515BD4) exclusively to unread avatar rings, live badges, and primary launch CTAs.
Creator analytics & engagement dashboard
Use #000000 for the outer frame, #121212 for metric cards, #0095F6 for reach/growth series, #ED4956 for likes/alerts, and #1CD14F for positive conversion deltas.
Why Instagram Dark Mode Works
Instagram uses strictly achromatic black and gray surfaces (#000000, #121212, #262626) so user photos and videos become the entire color experience, with UI chrome receding into the OLED bezel. Reserving #0095F6 blue for primary actions and the 5-stop gradient for active Stories gives those two cues instant visual priority.
For more dark UI theory and accessible token naming, see our dark mode color palette guide.
FAQ
- What is the Instagram dark mode background color hex code?
- Instagram dark mode uses true black #000000 for the main feed and Stories canvas, #121212 for bottom sheets and cards, #1A1A1A for search inputs, and #262626 for elevated menus and secondary buttons ("Following", "Message").
- What is the Instagram blue hex code?
- Instagram’s primary action blue (Follow button, inline @mentions, and active links) is #0095F6 (rgb(0, 149, 246)), which achieves a 6.38:1 WCAG AA contrast ratio as text on #000000. Pressed states use #1877F2.
- What are the Instagram gradient hex codes?
- The 5-stop Instagram story-ring gradient runs at a 45-degree angle from #FEDA77 (yellow) → #F58529 (orange) → #DD2A7B (magenta) → #8134AF (purple) → #515BD4 (indigo blue). Close Friends story rings use solid green #1CD14F.
- Why does Instagram use pure black #000000 instead of dark gray?
- Unlike text-heavy chat apps that use tinted grays (#313338), Instagram is a visual media platform. Achromatic true black (#000000) turns off OLED pixels completely, eliminates bezel boundaries around 4:5 photos and 9:16 Reels, and prevents simultaneous-contrast color casts from shifting skin tones in user photography.
Build your own dark palette
Start from Instagram neutrals or generate a custom dark theme with harmonized accents.