Skip to content

Midnight Haze

Midnight Haze is a cool, dark terminal color scheme with a #0c0c16 background and #d8dee9 text (14.4:1 contrast)

Get config
Background
#0c0c16
Foreground
#d8dee9
Text contrast
14.40:1AAA
Accent contrast
10.16:1min 7.14
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ ls -la
drwxr-xr-x 12 ada staff 384 Oct 30 09:12 .
drwxr-xr-x 8 ada staff 256 Oct 29 18:40 ..
-rw-r--r-- 1 ada staff 1.2K Oct 30 09:10 .gitignore
drwxr-xr-x 5 ada staff 160 Oct 30 09:12 src
drwxr-xr-x 3 ada staff 96 Oct 28 11:02 public
-rwxr-xr-x 1 ada staff 2.4K Oct 30 08:57 build.sh
-rw-r--r-- 1 ada staff 4.1K Oct 30 09:01 package.json
lrwxr-xr-x 1 ada staff 18 Oct 27 14:33 node_modules -> ../cache/modules
-rw-r--r-- 1 ada staff 48K Oct 26 10:15 logo.png
-rw-r--r-- 1 ada staff 9.8M Oct 25 21:47 backup.tar.gz
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ git status
On branch main
Your branch is ahead of 'origin/main' by 2 commits.
Changes to be committed:
new file: src/theme.css
modified: README.md
Changes not staged for commit:
modified: src/app.tsx
deleted: legacy/colors.js
Untracked files:
notes.md
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯

Midnight Haze configs

16 formats, all from one palette

Midnight Haze

Save to ~/.config/ghostty/themes/Midnight Haze, then set theme = Midnight Haze in config or config.ghostty

More Ghostty themes
Raw file
# Theme: Midnight Haze (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/en/schemes/midnight-haze?format=ghostty

palette = 0=#2c2c3d
palette = 1=#ff6e6e
palette = 2=#9ec875
palette = 3=#ffa759
palette = 4=#70a7d4
palette = 5=#d291e0
palette = 6=#96e0e0
palette = 7=#d8dee9
palette = 8=#414166
palette = 9=#ff8d8d
palette = 10=#b3d987
palette = 11=#ffc57f
palette = 12=#9bb3d3
palette = 13=#ffa1ff
palette = 14=#9cd8d8
palette = 15=#ffffff
background = #0c0c16
foreground = #d8dee9
cursor-color = #d8dee9
cursor-text = #0c0c16
selection-background = #373843
selection-foreground = #d8dee9

Midnight Haze palette

Palette color values and WCAG contrast ratios against the background
ColorSlotHEXRGBHSLOKLCHContrast
Backgroundbackground#0c0c16rgb(12 12 22)hsl(240 29% 7%)oklch(16.0% 0.021 283.8)—
Foregroundforeground#d8dee9rgb(216 222 233)hsl(219 28% 88%)oklch(89.9% 0.016 262.7)14.40 AAA
Cursorcursor#d8dee9rgb(216 222 233)hsl(219 28% 88%)oklch(89.9% 0.016 262.7)14.40 AAA
Cursor textcursorText#0c0c16rgb(12 12 22)hsl(240 29% 7%)oklch(16.0% 0.021 283.8)1.00 Fail
Selectionselection#373843rgb(55 56 67)hsl(235 10% 24%)oklch(34.4% 0.019 281.2)1.68 Fail
Selection textselectionText#d8dee9rgb(216 222 233)hsl(219 28% 88%)oklch(89.9% 0.016 262.7)14.40 AAA
Blackcolor0#2c2c3drgb(44 44 61)hsl(240 16% 21%)oklch(30.1% 0.031 284.4)1.42 Fail
Redcolor1#ff6e6ergb(255 110 110)hsl(0 100% 72%)oklch(71.6% 0.178 22.6)7.14 AAA
Greencolor2#9ec875rgb(158 200 117)hsl(90 43% 62%)oklch(78.3% 0.119 130.6)10.16 AAA
Yellowcolor3#ffa759rgb(255 167 89)hsl(28 100% 67%)oklch(80.1% 0.140 60.2)10.12 AAA
Bluecolor4#70a7d4rgb(112 167 212)hsl(207 54% 64%)oklch(70.8% 0.088 244.2)7.56 AAA
Magentacolor5#d291e0rgb(210 145 224)hsl(289 56% 72%)oklch(74.8% 0.130 320.3)8.21 AAA
Cyancolor6#96e0e0rgb(150 224 224)hsl(180 54% 73%)oklch(85.8% 0.073 195.9)13.00 AAA
Whitecolor7#d8dee9rgb(216 222 233)hsl(219 28% 88%)oklch(89.9% 0.016 262.7)14.40 AAA
Bright Blackcolor8#414166rgb(65 65 102)hsl(240 22% 33%)oklch(39.2% 0.062 283.2)2.01 Fail
Bright Redcolor9#ff8d8drgb(255 141 141)hsl(0 100% 78%)oklch(76.7% 0.138 20.8)8.75 AAA
Bright Greencolor10#b3d987rgb(179 217 135)hsl(88 52% 69%)oklch(83.9% 0.115 128.9)12.22 AAA
Bright Yellowcolor11#ffc57frgb(255 197 127)hsl(33 100% 75%)oklch(86.1% 0.110 70.7)12.54 AAA
Bright Bluecolor12#9bb3d3rgb(155 179 211)hsl(214 39% 72%)oklch(75.9% 0.053 255.7)9.06 AAA
Bright Magentacolor13#ffa1ffrgb(255 161 255)hsl(300 100% 82%)oklch(83.4% 0.161 326.9)10.92 AAA
Bright Cyancolor14#9cd8d8rgb(156 216 216)hsl(180 43% 73%)oklch(84.2% 0.061 196.1)12.25 AAA
Bright Whitecolor15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.45 AAA

About Midnight Haze

Midnight Haze is a dark terminal color scheme built on a cool-tinted #0c0c16 background with #d8dee9 as the default foreground. Body text reaches a 14.40:1 WCAG contrast ratio (AAA), while the 12 ANSI accent colors average 10.16:1 (minimum 7.14:1).

Its palette is moderately saturated, anchored by #ff6e6e red, #9ec875 green, #70a7d4 blue, and #d291e0 magenta.

Ready-to-use configs can be exported for Ghostty, iTerm2, Kitty, Alacritty, WezTerm, Windows Terminal, Warp, foot, Rio, XFCE4 Terminal, and Xresources, along with VS Code and Zed integrated terminals, CSS variables, Tailwind CSS, and JSON.

Schemes similar to Midnight Haze

Source: Gogh (MIT OR Apache-2.0)