Midnightblue #311f71 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.5
Aa
2.05
Aa
2.82
Aa
4.03
Aa
5.84
Aa
8.41
Aa
11.79
Aa
15.2
Aa
16.73
100
Aa
1.14
Aa
1
Aa
1.32
Aa
1.8
Aa
2.48
Aa
3.54
Aa
5.14
Aa
7.39
Aa
10.36
Aa
13.35
Aa
14.7
200
Aa
1.5
Aa
1.32
Aa
1
Aa
1.36
Aa
1.88
Aa
2.68
Aa
3.89
Aa
5.59
Aa
7.85
Aa
10.11
Aa
11.13
300
Aa
2.05
Aa
1.8
Aa
1.36
Aa
1
Aa
1.38
Aa
1.97
Aa
2.86
Aa
4.11
Aa
5.77
Aa
7.43
Aa
8.18
400
Aa
2.82
Aa
2.48
Aa
1.88
Aa
1.38
Aa
1
Aa
1.43
Aa
2.07
Aa
2.98
Aa
4.18
Aa
5.39
Aa
5.93
500
Aa
4.03
Aa
3.54
Aa
2.68
Aa
1.97
Aa
1.43
Aa
1
Aa
1.45
Aa
2.08
Aa
2.92
Aa
3.77
Aa
4.15
600
Aa
5.84
Aa
5.14
Aa
3.89
Aa
2.86
Aa
2.07
Aa
1.45
Aa
1
Aa
1.44
Aa
2.02
Aa
2.6
Aa
2.86
700
Aa
8.41
Aa
7.39
Aa
5.59
Aa
4.11
Aa
2.98
Aa
2.08
Aa
1.44
Aa
1
Aa
1.4
Aa
1.81
Aa
1.99
800
Aa
11.79
Aa
10.36
Aa
7.85
Aa
5.77
Aa
4.18
Aa
2.92
Aa
2.02
Aa
1.4
Aa
1
Aa
1.29
Aa
1.42
900
Aa
15.2
Aa
13.35
Aa
10.11
Aa
7.43
Aa
5.39
Aa
3.77
Aa
2.6
Aa
1.81
Aa
1.29
Aa
1
Aa
1.1
950
Aa
16.73
Aa
14.7
Aa
11.13
Aa
8.18
Aa
5.93
Aa
4.15
Aa
2.86
Aa
1.99
Aa
1.42
Aa
1.1
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f2eff6',
  '100': '#e5e0ed',
  '200': '#cbc2db',
  '300': '#b1a4c9',
  '400': '#9888b7',
  '500': '#7e6ca5',
  '600': '#655194',
  '700': '#4c3882',
  '800': '#311f71',
  '900': '#1e1439',
  '950': '#140c20',
}

CSS Variables

--color-50: #f2eff6;
--color-100: #e5e0ed;
--color-200: #cbc2db;
--color-300: #b1a4c9;
--color-400: #9888b7;
--color-500: #7e6ca5;
--color-600: #655194;
--color-700: #4c3882;
--color-800: #311f71;
--color-900: #1e1439;
--color-950: #140c20;

SCSS Variables

$color-50: #f2eff6;
$color-100: #e5e0ed;
$color-200: #cbc2db;
$color-300: #b1a4c9;
$color-400: #9888b7;
$color-500: #7e6ca5;
$color-600: #655194;
$color-700: #4c3882;
$color-800: #311f71;
$color-900: #1e1439;
$color-950: #140c20;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950