niceui

Obsidian 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#e4e4e7 on #09090b15.68:1 · AAA
Aa#e4e4e7 on #18181b13.96:1 · AAA
Aa#e4e4e7 on #27272a11.74:1 · AAA
Aa#e4e4e7 on #52525b6.09:1 · AA

CSS variables

:root {
  --obsidian-1: #09090b;
  --obsidian-2: #18181b;
  --obsidian-3: #27272a;
  --obsidian-4: #52525b;
  --obsidian-5: #e4e4e7;
}

Tailwind CSS

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'obsidian': {
          100: '#09090b',
          200: '#18181b',
          300: '#27272a',
          400: '#52525b',
          500: '#e4e4e7',
        },
      },
    },
  },
};
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 Obsidian palette?

Obsidian uses #09090b, #18181b, #27272a, #52525b, #e4e4e7.

Which colors in Obsidian work for text?

The strongest pair is #09090b and #e4e4e7 with a contrast ratio of 15.68:1 (AAA).

Similar palettes

More: Dark color palettesMinimal color palettesAll palettes