niceui

Harbor Color Palette

Sea glass, deep water and sandy shores. 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#16303a on #f4f7f812.85:1 · AAA
Aa#16303a on #cfdde29.94:1 · AAA
Aa#3e6b7a on #f4f7f85.44:1 · AA
Aa#16303a on #7fa3b05.12:1 · AA

CSS variables

:root {
  --harbor-1: #f4f7f8;
  --harbor-2: #cfdde2;
  --harbor-3: #7fa3b0;
  --harbor-4: #3e6b7a;
  --harbor-5: #16303a;
}

Tailwind CSS

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'harbor': {
          100: '#f4f7f8',
          200: '#cfdde2',
          300: '#7fa3b0',
          400: '#3e6b7a',
          500: '#16303a',
        },
      },
    },
  },
};
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 Harbor palette?

Harbor uses #f4f7f8, #cfdde2, #7fa3b0, #3e6b7a, #16303a.

Which colors in Harbor work for text?

The strongest pair is #f4f7f8 and #16303a with a contrast ratio of 12.85:1 (AAA).

Similar palettes

More: Ocean color palettesMinimal color palettesAll palettes