Midnightblue #240f8a 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.08
Aa
2.91
Aa
4.15
Aa
6.09
Aa
8.82
Aa
12.23
Aa
15.45
Aa
16.83
100
Aa
1.15
Aa
1
Aa
1.33
Aa
1.81
Aa
2.53
Aa
3.62
Aa
5.3
Aa
7.67
Aa
10.65
Aa
13.45
Aa
14.65
200
Aa
1.52
Aa
1.33
Aa
1
Aa
1.36
Aa
1.91
Aa
2.72
Aa
3.99
Aa
5.78
Aa
8.02
Aa
10.13
Aa
11.04
300
Aa
2.08
Aa
1.81
Aa
1.36
Aa
1
Aa
1.4
Aa
2
Aa
2.93
Aa
4.24
Aa
5.89
Aa
7.44
Aa
8.1
400
Aa
2.91
Aa
2.53
Aa
1.91
Aa
1.4
Aa
1
Aa
1.43
Aa
2.09
Aa
3.03
Aa
4.21
Aa
5.31
Aa
5.79
500
Aa
4.15
Aa
3.62
Aa
2.72
Aa
2
Aa
1.43
Aa
1
Aa
1.47
Aa
2.12
Aa
2.94
Aa
3.72
Aa
4.05
600
Aa
6.09
Aa
5.3
Aa
3.99
Aa
2.93
Aa
2.09
Aa
1.47
Aa
1
Aa
1.45
Aa
2.01
Aa
2.54
Aa
2.76
700
Aa
8.82
Aa
7.67
Aa
5.78
Aa
4.24
Aa
3.03
Aa
2.12
Aa
1.45
Aa
1
Aa
1.39
Aa
1.75
Aa
1.91
800
Aa
12.23
Aa
10.65
Aa
8.02
Aa
5.89
Aa
4.21
Aa
2.94
Aa
2.01
Aa
1.39
Aa
1
Aa
1.26
Aa
1.38
900
Aa
15.45
Aa
13.45
Aa
10.13
Aa
7.44
Aa
5.31
Aa
3.72
Aa
2.54
Aa
1.75
Aa
1.26
Aa
1
Aa
1.09
950
Aa
16.83
Aa
14.65
Aa
11.04
Aa
8.1
Aa
5.79
Aa
4.05
Aa
2.76
Aa
1.91
Aa
1.38
Aa
1.09
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f2eff8',
  '100': '#e6def1',
  '200': '#ccbfe2',
  '300': '#b3a0d4',
  '400': '#9982c5',
  '500': '#7f65b7',
  '600': '#6448a8',
  '700': '#482c99',
  '800': '#240f8a',
  '900': '#1c0e44',
  '950': '#150925',
}

CSS Variables

--color-50: #f2eff8;
--color-100: #e6def1;
--color-200: #ccbfe2;
--color-300: #b3a0d4;
--color-400: #9982c5;
--color-500: #7f65b7;
--color-600: #6448a8;
--color-700: #482c99;
--color-800: #240f8a;
--color-900: #1c0e44;
--color-950: #150925;

SCSS Variables

$color-50: #f2eff8;
$color-100: #e6def1;
$color-200: #ccbfe2;
$color-300: #b3a0d4;
$color-400: #9982c5;
$color-500: #7f65b7;
$color-600: #6448a8;
$color-700: #482c99;
$color-800: #240f8a;
$color-900: #1c0e44;
$color-950: #150925;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950