niceui

Eclipse 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#f5e6b8 on #0b0b0f15.80:1 · AAA
Aa#f5e6b8 on #1a1a2213.91:1 · AAA
Aa#f5e6b8 on #2c2c3811.08:1 · AAA
Aa#c9a227 on #0b0b0f8.12:1 · AAA

CSS variables

:root {
  --eclipse-1: #0b0b0f;
  --eclipse-2: #1a1a22;
  --eclipse-3: #2c2c38;
  --eclipse-4: #c9a227;
  --eclipse-5: #f5e6b8;
}

Tailwind CSS

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'eclipse': {
          100: '#0b0b0f',
          200: '#1a1a22',
          300: '#2c2c38',
          400: '#c9a227',
          500: '#f5e6b8',
        },
      },
    },
  },
};
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 Eclipse palette?

Eclipse uses #0b0b0f, #1a1a22, #2c2c38, #c9a227, #f5e6b8.

Which colors in Eclipse work for text?

The strongest pair is #0b0b0f and #f5e6b8 with a contrast ratio of 15.80:1 (AAA).

Similar palettes

More: Dark color palettesLuxury color palettesAll palettes