Midnightblue #331a77 Tailwind CSS Color Code

Color Picker

midnightblue

50
100
200
300
400
500
600
700
800
900
950

Contrast Grid

Text ↓
BG →
50100200300400500600700800900950
50
Aa
1
Aa
1.14
Aa
1.51
Aa
2.05
Aa
2.84
Aa
4.04
Aa
5.88
Aa
8.5
Aa
11.87
Aa
15.25
Aa
16.75
100
Aa
1.14
Aa
1
Aa
1.33
Aa
1.8
Aa
2.5
Aa
3.55
Aa
5.17
Aa
7.48
Aa
10.44
Aa
13.41
Aa
14.73
200
Aa
1.51
Aa
1.33
Aa
1
Aa
1.36
Aa
1.89
Aa
2.68
Aa
3.9
Aa
5.64
Aa
7.87
Aa
10.12
Aa
11.11
300
Aa
2.05
Aa
1.8
Aa
1.36
Aa
1
Aa
1.39
Aa
1.97
Aa
2.87
Aa
4.15
Aa
5.8
Aa
7.45
Aa
8.19
400
Aa
2.84
Aa
2.5
Aa
1.89
Aa
1.39
Aa
1
Aa
1.42
Aa
2.07
Aa
2.99
Aa
4.18
Aa
5.37
Aa
5.89
500
Aa
4.04
Aa
3.55
Aa
2.68
Aa
1.97
Aa
1.42
Aa
1
Aa
1.46
Aa
2.1
Aa
2.94
Aa
3.78
Aa
4.15
600
Aa
5.88
Aa
5.17
Aa
3.9
Aa
2.87
Aa
2.07
Aa
1.46
Aa
1
Aa
1.45
Aa
2.02
Aa
2.59
Aa
2.85
700
Aa
8.5
Aa
7.48
Aa
5.64
Aa
4.15
Aa
2.99
Aa
2.1
Aa
1.45
Aa
1
Aa
1.4
Aa
1.79
Aa
1.97
800
Aa
11.87
Aa
10.44
Aa
7.87
Aa
5.8
Aa
4.18
Aa
2.94
Aa
2.02
Aa
1.4
Aa
1
Aa
1.29
Aa
1.41
900
Aa
15.25
Aa
13.41
Aa
10.12
Aa
7.45
Aa
5.37
Aa
3.78
Aa
2.59
Aa
1.79
Aa
1.29
Aa
1
Aa
1.1
950
Aa
16.75
Aa
14.73
Aa
11.11
Aa
8.19
Aa
5.89
Aa
4.15
Aa
2.85
Aa
1.97
Aa
1.41
Aa
1.1
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f2eff6',
  '100': '#e5e0ee',
  '200': '#ccc1dd',
  '300': '#b3a3cb',
  '400': '#9a86ba',
  '500': '#816aa9',
  '600': '#684e99',
  '700': '#4e3488',
  '800': '#331a77',
  '900': '#1f123c',
  '950': '#150b21',
}

CSS Variables

--color-50: #f2eff6;
--color-100: #e5e0ee;
--color-200: #ccc1dd;
--color-300: #b3a3cb;
--color-400: #9a86ba;
--color-500: #816aa9;
--color-600: #684e99;
--color-700: #4e3488;
--color-800: #331a77;
--color-900: #1f123c;
--color-950: #150b21;

SCSS Variables

$color-50: #f2eff6;
$color-100: #e5e0ee;
$color-200: #ccc1dd;
$color-300: #b3a3cb;
$color-400: #9a86ba;
$color-500: #816aa9;
$color-600: #684e99;
$color-700: #4e3488;
$color-800: #331a77;
$color-900: #1f123c;
$color-950: #150b21;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950