↑ ↓ to moveEnter to openEsc to close

Dark colors

Deep colors make calm backgrounds, dramatic accents and comfortable dark themes. Each swatch below notes the text color that reads best on it.

Dark blues and navy

  • Aa 12.92:1
    Blue Whale #1E3442 RGB 30, 52, 66
  • Aa 14.94:1
    Fibonacci Blue #112358 RGB 17, 35, 88
  • Aa 14.96:1
    Midnight Express #21263A RGB 33, 38, 58
  • Aa 16.64:1
    Deep Blue #040273 RGB 4, 2, 115
  • Aa 16.56:1
    Midnight Mirage #001F3F RGB 0, 31, 63
  • Aa 16.44:1
    Midnight Dreams #002233 RGB 0, 34, 51
  • Aa 17.33:1
    Interstellar Blue #001155 RGB 0, 17, 85
  • Aa 18.40:1
    Squid’s Ink #041330 RGB 4, 19, 48

Dark greens and teal

  • Aa 10.70:1
    Emerald Forest #224347 RGB 34, 67, 71
  • Aa 10.67:1
    Forestry #2F441F RGB 47, 68, 31
  • Aa 10.82:1
    British Racing Green #05480D RGB 5, 72, 13
  • Aa 13.49:1
    Elite Teal #133337 RGB 19, 51, 55
  • Aa 13.55:1
    Darkest Forest #223311 RGB 34, 51, 17
  • Aa 14.03:1
    Pitch-Black Forests #003322 RGB 0, 51, 34
  • Aa 15.24:1
    PCB Green #002D04 RGB 0, 45, 4
  • Aa 16.23:1
    Midnight Pines #17240B RGB 23, 36, 11

Dark reds and burgundy

  • Aa 11.78:1
    Liquorice Red #740900 RGB 116, 9, 0
  • Aa 11.65:1
    Hot Fudge #5E2912 RGB 94, 41, 18
  • Aa 12.82:1
    Plum Cheese #670728 RGB 103, 7, 40
  • Aa 13.16:1
    Torrefacto Roast #4E241E RGB 78, 36, 30
  • Aa 14.02:1
    Spikey Red #600000 RGB 96, 0, 0
  • Aa 13.82:1
    Ethereal Espresso #3E2723 RGB 62, 39, 35
  • Aa 15.83:1
    Black Chocolate #441100 RGB 68, 17, 0
  • Aa 15.97:1
    Chocolate Kiss #3C1421 RGB 60, 20, 33

Dark purples and plum

  • Aa 12.35:1
    Purple Velour #581A57 RGB 88, 26, 87
  • Aa 12.35:1
    Wonka Purple #4A2559 RGB 74, 37, 89
  • Aa 16.27:1
    Cotinga Purple #340059 RGB 52, 0, 89
  • Aa 16.84:1
    Dark Purple #35063E RGB 53, 6, 62
  • Aa 18.04:1
    Vienna Roast #330022 RGB 51, 0, 34
  • Aa 18.62:1
    Shot in the Dark #1D0D1D RGB 29, 13, 29
  • Aa 19.04:1
    Quiet Abyss #160435 RGB 22, 4, 53
  • Aa 19.24:1
    Black Sabbath #220022 RGB 34, 0, 34

Dark browns and olive

  • Aa 11.24:1
    Moelleux au Chocolat #553311 RGB 85, 51, 17
  • Aa 11.33:1
    Dark Olive #373E02 RGB 55, 62, 2
  • Aa 14.14:1
    Chocolate Castle #452207 RGB 69, 34, 7
  • Aa 14.03:1
    Secret Passage #372A05 RGB 55, 42, 5

Near-blacks

Softer than #000000, and easier on the eyes in dark interfaces.

  • Aa 17.88:1
    Black Stallion #0E191C RGB 14, 25, 28
  • Aa 18.24:1
    Back in Black #16141C RGB 22, 20, 28
  • Aa 18.58:1
    Cursed Black #131313 RGB 19, 19, 19
  • Aa 18.78:1
    Midnight Edition #0C121B RGB 12, 18, 27
  • Aa 19.50:1
    Midnight Oil #0B0C14 RGB 11, 12, 20
  • Aa 19.83:1
    Black Knight #010B13 RGB 1, 11, 19
  • Aa 20.00:1
    Blackout #0E0702 RGB 14, 7, 2
  • Aa 21.00:1
    Black #000000 RGB 0, 0, 0

Palette idea: light to dark

  • LightestAa 10.70:1
    Emerald Forest #224347 RGB 34, 67, 71
  • LightAa 12.92:1
    Blue Whale #1E3442 RGB 30, 52, 66
  • MidAa 15.83:1
    Black Chocolate #441100 RGB 68, 17, 0
  • DeepAa 17.88:1
    Black Stallion #0E191C RGB 14, 25, 28
  • DarkestAa 21.00:1
    Black #000000 RGB 0, 0, 0

Palette idea: with neutrals

  • BackgroundAa 16.11:1
    Warm white #FAF7F2 RGB 250, 247, 242
  • SurfaceAa 11.33:1
    Dark Olive #373E02 RGB 55, 62, 2
  • MainAa 15.83:1
    Black Chocolate #441100 RGB 68, 17, 0
  • DeepAa 19.04:1
    Quiet Abyss #160435 RGB 22, 4, 53
  • TextAa 16.81:1
    Ink #1F1D1A RGB 31, 29, 26

Palette idea: complementary accent

  • LightAa 11.65:1
    Hot Fudge #5E2912 RGB 94, 41, 18
  • MainAa 15.83:1
    Black Chocolate #441100 RGB 68, 17, 0
  • DarkAa 19.24:1
    Black Sabbath #220022 RGB 34, 0, 34
  • AccentAa 5.82:1
    Complement #186E84 RGB 24, 110, 132
  • BaseAa 15.53:1
    Off-white #F5F3EE RGB 245, 243, 238

Dark backgrounds that work

The colors here sit below an OKLab lightness of about 0.36, the range used for dark themes, headers and moody print. Each swatch's "Aa" figure shows white text contrast, and almost all pass WCAG AA comfortably.

Why not pure black?

Pure #000000 next to pure white creates the maximum possible contrast, 21:1. That can cause a shimmering effect for some readers on bright screens. Many dark themes use a near-black, or a very dark blue or green, with slightly off-white text instead. The near-blacks group above is a good starting point.

Choosing by mood

  • Navy is the classic alternative to black: formal, trustworthy, easy to pair.
  • Forest and dark teal feel natural and premium.
  • Burgundy and plum add richness and warmth.
  • Chocolate and olive feel earthy and organic.

Dark mode tips

In a dark interface, keep surfaces in a narrow band of dark tones and use lightness, not shadows, to show elevation: raised cards get a slightly lighter shade. Saturated colors look more intense on dark backgrounds, so soften accent colors a little.

Test any text and background pair with the contrast checker. For lighter options, see shades of blue and gray, and build a complete scheme with website color schemes.