#0D1117
#1F2937
#3B82F6
#F9FAFB
Background
Primary Accent
Secondary
Body Text

Deep Focus Dark Color Palette

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

AAA
WCAG Grade
18.1:1
Contrast Ratio
2,700
Saves
7,300
AI Copies
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%
Primary Accent
Luminance: 2.2%
31, 41, 55 44%, 25%, 0%, 78% 215°, 28%, 17%
Secondary
Luminance: 23.5%
59, 130, 246 76%, 47%, 0%, 4% 217°, 91%, 60%
Body Text
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.11:1 AAA Body text, headings, UI
#0D1117 on #F9FAFB
Aa Sample Text
18.11:1 AAA Body text, headings, UI
#F9FAFB on #1F2937
Aa Sample Text
14.05:1 AAA Body text, headings, UI
#1F2937 on #F9FAFB
Aa Sample Text
14.05:1 AAA Body text, headings, UI
#3B82F6 on #0D1117
Aa Sample Text
5.15:1 AA Body text, UI
#0D1117 on #3B82F6
Aa Sample Text
5.15: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.52:1 Fail Large headings, UI components
#3B82F6 on #F9FAFB
Aa Sample Text
3.52:1 Fail Large headings, UI components
#1F2937 on #0D1117
Aa Sample Text
1.29:1 Fail Decorative use only
#0D1117 on #1F2937
Aa Sample Text
1.29:1 Fail Decorative use only

Deep Focus Dark Color Psychology & Meaning

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: Analogous Scheme

The Deep Focus Dark palette is built using a analogous relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A analogous palette is often preferred by professional designers because it creates a calm, serene atmosphere by using neighboring colors.

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.

Industries This Palette Suits

Writing apps, code editors, productivity tools, note-taking, focus tools.

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.3:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #F9FAFB — 18.1: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, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #0D1117 for the main background and #1F2937 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #F9FAFB and #0D1117 is 18.11:1 (AAA). Ensure your body text remains legible.

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 for its strongest pairings: #F9FAFB on #0D1117 reaches 18.1:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination 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.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content