Midnightblue #240c5a 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.16
Aa
1.58
Aa
2.22
Aa
3.21
Aa
4.71
Aa
7.11
Aa
10.54
Aa
14.33
Aa
16.23
Aa
17.19
100
Aa
1.16
Aa
1
Aa
1.36
Aa
1.92
Aa
2.77
Aa
4.06
Aa
6.14
Aa
9.11
Aa
12.38
Aa
14.02
Aa
14.85
200
Aa
1.58
Aa
1.36
Aa
1
Aa
1.4
Aa
2.03
Aa
2.98
Aa
4.5
Aa
6.68
Aa
9.07
Aa
10.28
Aa
10.88
300
Aa
2.22
Aa
1.92
Aa
1.4
Aa
1
Aa
1.45
Aa
2.12
Aa
3.21
Aa
4.75
Aa
6.46
Aa
7.32
Aa
7.75
400
Aa
3.21
Aa
2.77
Aa
2.03
Aa
1.45
Aa
1
Aa
1.47
Aa
2.22
Aa
3.29
Aa
4.47
Aa
5.06
Aa
5.36
500
Aa
4.71
Aa
4.06
Aa
2.98
Aa
2.12
Aa
1.47
Aa
1
Aa
1.51
Aa
2.24
Aa
3.05
Aa
3.45
Aa
3.65
600
Aa
7.11
Aa
6.14
Aa
4.5
Aa
3.21
Aa
2.22
Aa
1.51
Aa
1
Aa
1.48
Aa
2.02
Aa
2.28
Aa
2.42
700
Aa
10.54
Aa
9.11
Aa
6.68
Aa
4.75
Aa
3.29
Aa
2.24
Aa
1.48
Aa
1
Aa
1.36
Aa
1.54
Aa
1.63
800
Aa
14.33
Aa
12.38
Aa
9.07
Aa
6.46
Aa
4.47
Aa
3.05
Aa
2.02
Aa
1.36
Aa
1
Aa
1.13
Aa
1.2
900
Aa
16.23
Aa
14.02
Aa
10.28
Aa
7.32
Aa
5.06
Aa
3.45
Aa
2.28
Aa
1.54
Aa
1.13
Aa
1
Aa
1.06
950
Aa
17.19
Aa
14.85
Aa
10.88
Aa
7.75
Aa
5.36
Aa
3.65
Aa
2.42
Aa
1.63
Aa
1.2
Aa
1.06
Aa
1

Tailwind Config

midnightblue: {
  '50': '#f1eef4',
  '100': '#e3dde9',
  '200': '#c7bcd4',
  '300': '#ab9cbf',
  '400': '#907daa',
  '500': '#766096',
  '600': '#5b4382',
  '700': '#40276e',
  '800': '#240c5a',
  '900': '#190a2f',
  '950': '#12051b',
}

CSS Variables

--color-50: #f1eef4;
--color-100: #e3dde9;
--color-200: #c7bcd4;
--color-300: #ab9cbf;
--color-400: #907daa;
--color-500: #766096;
--color-600: #5b4382;
--color-700: #40276e;
--color-800: #240c5a;
--color-900: #190a2f;
--color-950: #12051b;

SCSS Variables

$color-50: #f1eef4;
$color-100: #e3dde9;
$color-200: #c7bcd4;
$color-300: #ab9cbf;
$color-400: #907daa;
$color-500: #766096;
$color-600: #5b4382;
$color-700: #40276e;
$color-800: #240c5a;
$color-900: #190a2f;
$color-950: #12051b;

Color Palette SVG

50
100
200
300
400
500
600
700
800
900
950