Midnightblue #31226f 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.15
Aa
1.52
Aa
2.04
Aa
2.83
Aa
3.99
Aa
5.79
Aa
8.35
Aa
11.69
Aa
15.23
Aa
16.77
100
Aa
1.15
Aa
1
Aa
1.32
Aa
1.78
Aa
2.46
Aa
3.48
Aa
5.04
Aa
7.27
Aa
10.18
Aa
13.26
Aa
14.61
200
Aa
1.52
Aa
1.32
Aa
1
Aa
1.35
Aa
1.86
Aa
2.63
Aa
3.82
Aa
5.5
Aa
7.7
Aa
10.04
Aa
11.06
300
Aa
2.04
Aa
1.78
Aa
1.35
Aa
1
Aa
1.38
Aa
1.95
Aa
2.83
Aa
4.08
Aa
5.72
Aa
7.45
Aa
8.21
400
Aa
2.83
Aa
2.46
Aa
1.86
Aa
1.38
Aa
1
Aa
1.41
Aa
2.05
Aa
2.95
Aa
4.13
Aa
5.39
Aa
5.93
500
Aa
3.99
Aa
3.48
Aa
2.63
Aa
1.95
Aa
1.41
Aa
1
Aa
1.45
Aa
2.09
Aa
2.93
Aa
3.82
Aa
4.2
600
Aa
5.79
Aa
5.04
Aa
3.82
Aa
2.83
Aa
2.05
Aa
1.45
Aa
1
Aa
1.44
Aa
2.02
Aa
2.63
Aa
2.9
700
Aa
8.35
Aa
7.27
Aa
5.5
Aa
4.08
Aa
2.95
Aa
2.09
Aa
1.44
Aa
1
Aa
1.4
Aa
1.82
Aa
2.01
800
Aa
11.69
Aa
10.18
Aa
7.7
Aa
5.72
Aa
4.13
Aa
2.93
Aa
2.02
Aa
1.4
Aa
1
Aa
1.3
Aa
1.44
900
Aa
15.23
Aa
13.26
Aa
10.04
Aa
7.45
Aa
5.39
Aa
3.82
Aa
2.63
Aa
1.82
Aa
1.3
Aa
1
Aa
1.1
950
Aa
16.77
Aa
14.61
Aa
11.06
Aa
8.21
Aa
5.93
Aa
4.2
Aa
2.9
Aa
2.01
Aa
1.44
Aa
1.1
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f2f0f6',
  '100': '#e4e0ec',
  '200': '#cac2da',
  '300': '#b1a5c8',
  '400': '#9789b6',
  '500': '#7e6ea4',
  '600': '#655392',
  '700': '#4c3a80',
  '800': '#31226f',
  '900': '#1e1538',
  '950': '#140d1f',
}

CSS Variables

--color-50: #f2f0f6;
--color-100: #e4e0ec;
--color-200: #cac2da;
--color-300: #b1a5c8;
--color-400: #9789b6;
--color-500: #7e6ea4;
--color-600: #655392;
--color-700: #4c3a80;
--color-800: #31226f;
--color-900: #1e1538;
--color-950: #140d1f;

SCSS Variables

$color-50: #f2f0f6;
$color-100: #e4e0ec;
$color-200: #cac2da;
$color-300: #b1a5c8;
$color-400: #9789b6;
$color-500: #7e6ea4;
$color-600: #655392;
$color-700: #4c3a80;
$color-800: #31226f;
$color-900: #1e1538;
$color-950: #140d1f;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950