Midnightblue #31226a 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.05
Aa
2.84
Aa
4.03
Aa
5.85
Aa
8.45
Aa
11.84
Aa
15.26
Aa
16.78
100
Aa
1.15
Aa
1
Aa
1.32
Aa
1.79
Aa
2.48
Aa
3.51
Aa
5.1
Aa
7.37
Aa
10.32
Aa
13.3
Aa
14.62
200
Aa
1.52
Aa
1.32
Aa
1
Aa
1.35
Aa
1.87
Aa
2.65
Aa
3.86
Aa
5.57
Aa
7.8
Aa
10.06
Aa
11.06
300
Aa
2.05
Aa
1.79
Aa
1.35
Aa
1
Aa
1.39
Aa
1.96
Aa
2.85
Aa
4.12
Aa
5.77
Aa
7.44
Aa
8.18
400
Aa
2.84
Aa
2.48
Aa
1.87
Aa
1.39
Aa
1
Aa
1.42
Aa
2.06
Aa
2.97
Aa
4.16
Aa
5.37
Aa
5.9
500
Aa
4.03
Aa
3.51
Aa
2.65
Aa
1.96
Aa
1.42
Aa
1
Aa
1.45
Aa
2.1
Aa
2.94
Aa
3.79
Aa
4.17
600
Aa
5.85
Aa
5.1
Aa
3.86
Aa
2.85
Aa
2.06
Aa
1.45
Aa
1
Aa
1.44
Aa
2.02
Aa
2.61
Aa
2.87
700
Aa
8.45
Aa
7.37
Aa
5.57
Aa
4.12
Aa
2.97
Aa
2.1
Aa
1.44
Aa
1
Aa
1.4
Aa
1.81
Aa
1.98
800
Aa
11.84
Aa
10.32
Aa
7.8
Aa
5.77
Aa
4.16
Aa
2.94
Aa
2.02
Aa
1.4
Aa
1
Aa
1.29
Aa
1.42
900
Aa
15.26
Aa
13.3
Aa
10.06
Aa
7.44
Aa
5.37
Aa
3.79
Aa
2.61
Aa
1.81
Aa
1.29
Aa
1
Aa
1.1
950
Aa
16.78
Aa
14.62
Aa
11.06
Aa
8.18
Aa
5.9
Aa
4.17
Aa
2.87
Aa
1.98
Aa
1.42
Aa
1.1
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f2f0f5',
  '100': '#e4e0ec',
  '200': '#cac2d9',
  '300': '#b0a5c6',
  '400': '#9689b3',
  '500': '#7d6ea0',
  '600': '#64538e',
  '700': '#4b3a7c',
  '800': '#31226a',
  '900': '#1e1536',
  '950': '#140d1e',
}

CSS Variables

--color-50: #f2f0f5;
--color-100: #e4e0ec;
--color-200: #cac2d9;
--color-300: #b0a5c6;
--color-400: #9689b3;
--color-500: #7d6ea0;
--color-600: #64538e;
--color-700: #4b3a7c;
--color-800: #31226a;
--color-900: #1e1536;
--color-950: #140d1e;

SCSS Variables

$color-50: #f2f0f5;
$color-100: #e4e0ec;
$color-200: #cac2d9;
$color-300: #b0a5c6;
$color-400: #9689b3;
$color-500: #7d6ea0;
$color-600: #64538e;
$color-700: #4b3a7c;
$color-800: #31226a;
$color-900: #1e1536;
$color-950: #140d1e;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950