Midnightblue #401b4a 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.08
Aa
2.91
Aa
4.18
Aa
6.1
Aa
8.9
Aa
12.5
Aa
15.51
Aa
16.82
100
Aa
1.14
Aa
1
Aa
1.33
Aa
1.83
Aa
2.56
Aa
3.67
Aa
5.36
Aa
7.82
Aa
10.98
Aa
13.63
Aa
14.77
200
Aa
1.52
Aa
1.33
Aa
1
Aa
1.37
Aa
1.92
Aa
2.75
Aa
4.01
Aa
5.86
Aa
8.23
Aa
10.21
Aa
11.07
300
Aa
2.08
Aa
1.83
Aa
1.37
Aa
1
Aa
1.4
Aa
2.01
Aa
2.93
Aa
4.28
Aa
6.01
Aa
7.47
Aa
8.09
400
Aa
2.91
Aa
2.56
Aa
1.92
Aa
1.4
Aa
1
Aa
1.44
Aa
2.1
Aa
3.06
Aa
4.3
Aa
5.33
Aa
5.78
500
Aa
4.18
Aa
3.67
Aa
2.75
Aa
2.01
Aa
1.44
Aa
1
Aa
1.46
Aa
2.13
Aa
2.99
Aa
3.71
Aa
4.03
600
Aa
6.1
Aa
5.36
Aa
4.01
Aa
2.93
Aa
2.1
Aa
1.46
Aa
1
Aa
1.46
Aa
2.05
Aa
2.54
Aa
2.76
700
Aa
8.9
Aa
7.82
Aa
5.86
Aa
4.28
Aa
3.06
Aa
2.13
Aa
1.46
Aa
1
Aa
1.4
Aa
1.74
Aa
1.89
800
Aa
12.5
Aa
10.98
Aa
8.23
Aa
6.01
Aa
4.3
Aa
2.99
Aa
2.05
Aa
1.4
Aa
1
Aa
1.24
Aa
1.35
900
Aa
15.51
Aa
13.63
Aa
10.21
Aa
7.47
Aa
5.33
Aa
3.71
Aa
2.54
Aa
1.74
Aa
1.24
Aa
1
Aa
1.08
950
Aa
16.82
Aa
14.77
Aa
11.07
Aa
8.09
Aa
5.78
Aa
4.03
Aa
2.76
Aa
1.89
Aa
1.35
Aa
1.08
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f2eff3',
  '100': '#e6e0e7',
  '200': '#cdc1cf',
  '300': '#b4a3b7',
  '400': '#9c86a0',
  '500': '#846a8a',
  '600': '#6d4f74',
  '700': '#56355f',
  '800': '#401b4a',
  '900': '#231227',
  '950': '#160b18',
}

CSS Variables

--color-50: #f2eff3;
--color-100: #e6e0e7;
--color-200: #cdc1cf;
--color-300: #b4a3b7;
--color-400: #9c86a0;
--color-500: #846a8a;
--color-600: #6d4f74;
--color-700: #56355f;
--color-800: #401b4a;
--color-900: #231227;
--color-950: #160b18;

SCSS Variables

$color-50: #f2eff3;
$color-100: #e6e0e7;
$color-200: #cdc1cf;
$color-300: #b4a3b7;
$color-400: #9c86a0;
$color-500: #846a8a;
$color-600: #6d4f74;
$color-700: #56355f;
$color-800: #401b4a;
$color-900: #231227;
$color-950: #160b18;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950