Skip to content
#0D1117
#1F2937
#3B82F6
#F9FAFB
Background
Decorative / accent
Text · AA
Text · AAA

Deep Focus Dark Color Palette

#0D1117 · #1F2937 · #3B82F6 · #F9FAFB

AAA
WCAG Grade
18.10:1
Contrast Ratio
AI Prompt

Use #0D1117 as the background. Use #1F2937 as the primary accent. Use #3B82F6 as secondary. Use #F9FAFB as body text. Palette: Deep Focus Dark — focused, dark, minimal.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Deep Focus Dark color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).

Swatch Design Role HEX RGB CMYK HSL
Background
Luminance: 0.5%
13, 17, 23 43%, 26%, 0%, 91% 216°, 28%, 7%
Decorative / accent
Luminance: 2.2%
31, 41, 55 44%, 25%, 0%, 78% 215°, 28%, 17%
Text · AA
Luminance: 23.5%
59, 130, 246 76%, 47%, 0%, 4% 217°, 91%, 60%
Text · AAA
Luminance: 95.5%
249, 250, 251 1%, 0%, 0%, 2% 210°, 20%, 98%

Deep Focus Dark Tints & Shades

Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Deep Focus Dark palette — click any swatch to copy its hex.

#0D1117 gently saturated blue
#1F2937 gently saturated cyan-blue
#3B82F6 saturated blue
#F9FAFB muted cyan-blue

Deep Focus Dark Palette Contrast Matrix (WCAG 2.1)

Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.

Text on Background Preview Ratio Grade Safe For
#F9FAFB on #0D1117
Aa Sample Text
18.10:1 AAA Body text, headings, UI
#0D1117 on #F9FAFB
Aa Sample Text
18.10:1 AAA Body text, headings, UI
#F9FAFB on #1F2937
Aa Sample Text
14.04:1 AAA Body text, headings, UI
#1F2937 on #F9FAFB
Aa Sample Text
14.04:1 AAA Body text, headings, UI
#3B82F6 on #0D1117
Aa Sample Text
5.14:1 AA Body text, UI
#0D1117 on #3B82F6
Aa Sample Text
5.14:1 AA Body text, UI
#3B82F6 on #1F2937
Aa Sample Text
3.99:1 Fail Large headings, UI components
#1F2937 on #3B82F6
Aa Sample Text
3.99:1 Fail Large headings, UI components
#F9FAFB on #3B82F6
Aa Sample Text
3.51:1 Fail Large headings, UI components
#3B82F6 on #F9FAFB
Aa Sample Text
3.51:1 Fail Large headings, UI components
#1F2937 on #0D1117
Aa Sample Text
1.28:1 Fail Decorative use only
#0D1117 on #1F2937
Aa Sample Text
1.28:1 Fail Decorative use only

Palette Details

Deep focus dark is the interface of serious work — these near-blacks with a single blue accent minimize visual noise and keep attention on the content being created.

Color Harmony: Monochromatic

4 of 4 colors sit at essentially the same hue (215°, cyan-blue); the palette varies them by lightness and saturation rather than hue.

Hue Wheel

Single-hue palettes are the easiest to keep consistent, but neighbouring slots can look flat — separate them with lightness steps of at least 15%.

History & Design Context

Focus mode UI design became a significant trend in the early 2020s, with apps like Notion, Obsidian, and iA Writer demonstrating that stripped-back dark interfaces improved writing flow.

Best Design Use Cases

Very dark near-black for the base. Dark gray for surfaces. Blue for interactive elements only. Light gray/white for text. Absolute restraint in color.

Measured best pair: #F9FAFB on #0D1117 at 18.10:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Industries This Palette Suits

SaaS Products, Mobile Apps, Fintech, Productivity Tools, Social Platforms, Health Apps.

Colors That Pair Well With Deep Focus Dark

Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.

orange

directly opposite #1F2937 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

blue

30° beside #1F2937 — a calm secondary that extends the palette without adding tension

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Deep Focus Dark Without Breaking Accessibility

  • Avoid #1F2937 for small UI elements on #0D1117 — at 1.28:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #F9FAFB — 18.10:1 against #0D1117 passes WCAG AA (AAA) for long-form reading.
  • Don't use #3B82F6 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Deep Focus Dark Color Scheme

To use this Deep Focus Dark color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.

Option 1: CSS Variables

:root {
  /* Deep Focus Dark — ihatecolors */
  --color-bg: #0D1117;
  --color-accent: #1F2937;
  --color-secondary: #3B82F6;
  --color-text: #F9FAFB;
}

Web Design Tip

#1F2937 on #0D1117 measures 1.28:1 — the two are nearly indistinguishable, so this pair cannot separate a control from the page. Pick a different slot for actions, or use the darkest shade in the ramp.

Accessibility Note

Body copy in #F9FAFB on #0D1117 measures 18.10:1, which passes WCAG AAA for normal text.

Deep Focus Dark Palette — Frequently Asked Questions

What are the hex codes in the Deep Focus Dark color palette?

The Deep Focus Dark palette contains #0D1117, #1F2937, #3B82F6, #F9FAFB. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.

Is the Deep Focus Dark color palette accessible (WCAG)?

Yes. #F9FAFB on #0D1117 reaches 18.10:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Deep Focus Dark palette?

Beyond its own four colors, #725D40, #252433, #ECEDEE extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.

What mood does the Deep Focus Dark palette create?

Deep Focus Dark reads as focused, dark, minimal. Gently saturated cyan-blue drives the personality, grounded by gently saturated blue — a combination that works best when the deep base gets most of the canvas.

Can I use the Deep Focus Dark color palette commercially?

Yes. Individual color values can't be copyrighted, so the Deep Focus Dark palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.

How do I add the Deep Focus Dark palette to Tailwind or CSS?

Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Deep Focus Dark's exact values, including the tint and shade ramps shown above.

Live Preview
Generate Similar ✦