niceui

Coastal Sand 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#1f4e5a on #fbf3e48.29:1 · AAA
Aa#1f4e5a on #e9d5b06.36:1 · AA
Aa#1f4e5a on #9fc7c04.97:1 · AA
Aa#4e8f8d on #fbf3e43.38:1 · AA large

CSS variables

:root {
  --coastal-sand-1: #fbf3e4;
  --coastal-sand-2: #e9d5b0;
  --coastal-sand-3: #9fc7c0;
  --coastal-sand-4: #4e8f8d;
  --coastal-sand-5: #1f4e5a;
}

Tailwind CSS

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'coastal-sand': {
          100: '#fbf3e4',
          200: '#e9d5b0',
          300: '#9fc7c0',
          400: '#4e8f8d',
          500: '#1f4e5a',
        },
      },
    },
  },
};
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 Coastal Sand palette?

Coastal Sand uses #fbf3e4, #e9d5b0, #9fc7c0, #4e8f8d, #1f4e5a.

Which colors in Coastal Sand work for text?

The strongest pair is #fbf3e4 and #1f4e5a with a contrast ratio of 8.29:1 (AAA).

Similar palettes

More: Ocean color palettesEarth tone color palettesAll palettes