Midnightblue #311f76 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.04
Aa
2.81
Aa
3.99
Aa
5.72
Aa
8.3
Aa
11.62
Aa
15.14
Aa
16.68
100
Aa
1.14
Aa
1
Aa
1.32
Aa
1.79
Aa
2.47
Aa
3.51
Aa
5.03
Aa
7.3
Aa
10.22
Aa
13.32
Aa
14.67
200
Aa
1.5
Aa
1.32
Aa
1
Aa
1.36
Aa
1.87
Aa
2.66
Aa
3.81
Aa
5.53
Aa
7.74
Aa
10.09
Aa
11.11
300
Aa
2.04
Aa
1.79
Aa
1.36
Aa
1
Aa
1.38
Aa
1.96
Aa
2.81
Aa
4.08
Aa
5.71
Aa
7.44
Aa
8.19
400
Aa
2.81
Aa
2.47
Aa
1.87
Aa
1.38
Aa
1
Aa
1.42
Aa
2.04
Aa
2.95
Aa
4.13
Aa
5.39
Aa
5.93
500
Aa
3.99
Aa
3.51
Aa
2.66
Aa
1.96
Aa
1.42
Aa
1
Aa
1.43
Aa
2.08
Aa
2.91
Aa
3.79
Aa
4.18
600
Aa
5.72
Aa
5.03
Aa
3.81
Aa
2.81
Aa
2.04
Aa
1.43
Aa
1
Aa
1.45
Aa
2.03
Aa
2.65
Aa
2.92
700
Aa
8.3
Aa
7.3
Aa
5.53
Aa
4.08
Aa
2.95
Aa
2.08
Aa
1.45
Aa
1
Aa
1.4
Aa
1.82
Aa
2.01
800
Aa
11.62
Aa
10.22
Aa
7.74
Aa
5.71
Aa
4.13
Aa
2.91
Aa
2.03
Aa
1.4
Aa
1
Aa
1.3
Aa
1.44
900
Aa
15.14
Aa
13.32
Aa
10.09
Aa
7.44
Aa
5.39
Aa
3.79
Aa
2.65
Aa
1.82
Aa
1.3
Aa
1
Aa
1.1
950
Aa
16.68
Aa
14.67
Aa
11.11
Aa
8.19
Aa
5.93
Aa
4.18
Aa
2.92
Aa
2.01
Aa
1.44
Aa
1.1
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f2eff6',
  '100': '#e5e0ee',
  '200': '#cbc2dc',
  '300': '#b2a4cb',
  '400': '#9888ba',
  '500': '#7f6ca9',
  '600': '#665298',
  '700': '#4c3887',
  '800': '#311f76',
  '900': '#1e143b',
  '950': '#150c21',
}

CSS Variables

--color-50: #f2eff6;
--color-100: #e5e0ee;
--color-200: #cbc2dc;
--color-300: #b2a4cb;
--color-400: #9888ba;
--color-500: #7f6ca9;
--color-600: #665298;
--color-700: #4c3887;
--color-800: #311f76;
--color-900: #1e143b;
--color-950: #150c21;

SCSS Variables

$color-50: #f2eff6;
$color-100: #e5e0ee;
$color-200: #cbc2dc;
$color-300: #b2a4cb;
$color-400: #9888ba;
$color-500: #7f6ca9;
$color-600: #665298;
$color-700: #4c3887;
$color-800: #311f76;
$color-900: #1e143b;
$color-950: #150c21;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950