Midnightblue #311e65 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.52
Aa
2.06
Aa
2.89
Aa
4.13
Aa
6.03
Aa
8.73
Aa
12.26
Aa
15.34
Aa
16.76
100
Aa
1.14
Aa
1
Aa
1.33
Aa
1.8
Aa
2.53
Aa
3.62
Aa
5.29
Aa
7.65
Aa
10.74
Aa
13.45
Aa
14.69
200
Aa
1.52
Aa
1.33
Aa
1
Aa
1.35
Aa
1.9
Aa
2.72
Aa
3.97
Aa
5.74
Aa
8.06
Aa
10.08
Aa
11.02
300
Aa
2.06
Aa
1.8
Aa
1.35
Aa
1
Aa
1.4
Aa
2.01
Aa
2.93
Aa
4.24
Aa
5.95
Aa
7.45
Aa
8.14
400
Aa
2.89
Aa
2.53
Aa
1.9
Aa
1.4
Aa
1
Aa
1.43
Aa
2.09
Aa
3.03
Aa
4.25
Aa
5.32
Aa
5.81
500
Aa
4.13
Aa
3.62
Aa
2.72
Aa
2.01
Aa
1.43
Aa
1
Aa
1.46
Aa
2.11
Aa
2.97
Aa
3.71
Aa
4.06
600
Aa
6.03
Aa
5.29
Aa
3.97
Aa
2.93
Aa
2.09
Aa
1.46
Aa
1
Aa
1.45
Aa
2.03
Aa
2.54
Aa
2.78
700
Aa
8.73
Aa
7.65
Aa
5.74
Aa
4.24
Aa
3.03
Aa
2.11
Aa
1.45
Aa
1
Aa
1.4
Aa
1.76
Aa
1.92
800
Aa
12.26
Aa
10.74
Aa
8.06
Aa
5.95
Aa
4.25
Aa
2.97
Aa
2.03
Aa
1.4
Aa
1
Aa
1.25
Aa
1.37
900
Aa
15.34
Aa
13.45
Aa
10.08
Aa
7.45
Aa
5.32
Aa
3.71
Aa
2.54
Aa
1.76
Aa
1.25
Aa
1
Aa
1.09
950
Aa
16.76
Aa
14.69
Aa
11.02
Aa
8.14
Aa
5.81
Aa
4.06
Aa
2.78
Aa
1.92
Aa
1.37
Aa
1.09
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f2eff5',
  '100': '#e4e0eb',
  '200': '#cac1d7',
  '300': '#b0a4c4',
  '400': '#9687b0',
  '500': '#7d6b9d',
  '600': '#64508a',
  '700': '#4b3777',
  '800': '#311e65',
  '900': '#1d1434',
  '950': '#140c1d',
}

CSS Variables

--color-50: #f2eff5;
--color-100: #e4e0eb;
--color-200: #cac1d7;
--color-300: #b0a4c4;
--color-400: #9687b0;
--color-500: #7d6b9d;
--color-600: #64508a;
--color-700: #4b3777;
--color-800: #311e65;
--color-900: #1d1434;
--color-950: #140c1d;

SCSS Variables

$color-50: #f2eff5;
$color-100: #e4e0eb;
$color-200: #cac1d7;
$color-300: #b0a4c4;
$color-400: #9687b0;
$color-500: #7d6b9d;
$color-600: #64508a;
$color-700: #4b3777;
$color-800: #311e65;
$color-900: #1d1434;
$color-950: #140c1d;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950