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Aa
2.68
Aa
1.98
Aa
1.48
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f4f2fa',
  '100': '#e8e5f4',
  '200': '#d1ccea',
  '300': '#bab4df',
  '400': '#a49cd4',
  '500': '#8c85c9',
  '600': '#756ebf',
  '700': '#5c58b3',
  '800': '#4043a8',
  '900': '#1a2f9d',
  '950': '#1a1b4d',
}

CSS Variables

--color-50: #f4f2fa;
--color-100: #e8e5f4;
--color-200: #d1ccea;
--color-300: #bab4df;
--color-400: #a49cd4;
--color-500: #8c85c9;
--color-600: #756ebf;
--color-700: #5c58b3;
--color-800: #4043a8;
--color-900: #1a2f9d;
--color-950: #1a1b4d;

SCSS Variables

$color-50: #f4f2fa;
$color-100: #e8e5f4;
$color-200: #d1ccea;
$color-300: #bab4df;
$color-400: #a49cd4;
$color-500: #8c85c9;
$color-600: #756ebf;
$color-700: #5c58b3;
$color-800: #4043a8;
$color-900: #1a2f9d;
$color-950: #1a1b4d;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950