niceui

Midnight Ink Color Palette

Deep, moody palettes for dark mode UIs, dashboards and night themes. Copy any hex code, or grab the whole palette as CSS variables or a Tailwind config.

Open in generator

Color codes

ColourHEXRGBHSLOKLCH

Contrast

WCAG contrast for the strongest pairs. AA needs 4.5:1 for body text.

Aa#7dd3fc on #02061712.10:1 · AAA
Aa#7dd3fc on #0f172a10.71:1 · AAA
Aa#7dd3fc on #1e293b8.77:1 · AAA
Aa#7dd3fc on #3341556.21:1 · AA

CSS variables

:root {
  --midnight-ink-1: #020617;
  --midnight-ink-2: #0f172a;
  --midnight-ink-3: #1e293b;
  --midnight-ink-4: #334155;
  --midnight-ink-5: #7dd3fc;
}

Tailwind CSS

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'midnight-ink': {
          100: '#020617',
          200: '#0f172a',
          300: '#1e293b',
          400: '#334155',
          500: '#7dd3fc',
        },
      },
    },
  },
};
Edit this palette in the Palette GeneratorSpace to generate, lock colours, colours from an image, Tailwind 50–950 scales, contrast checks and CSS, Tailwind or shadcn export.

FAQ

What colors are in the Midnight Ink palette?

Midnight Ink uses #020617, #0f172a, #1e293b, #334155, #7dd3fc.

Which colors in Midnight Ink work for text?

The strongest pair is #020617 and #7dd3fc with a contrast ratio of 12.10:1 (AAA).

Similar palettes

More: Dark color palettesCool color palettesAll palettes