Dark Slate Gray — 11-step color scale
Dark Slate Gray (#2f4f4f) sits at 500, untouched. Every other step is Dark Slate Gray composited over white or black at a decreasing opacity, so the whole ramp stays in one hue family instead of drifting toward another color at the ends.
Open Dark Slate Gray in the generator
For text that needs to pass AA on white, 400, 500, 600, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300 do.
Semantic colors from Dark Slate Gray
Success, warning, error and the rest are derived from Dark Slate Gray itself, then checked so they stay distinguishable from the base — and from each other — under the three types of color blindness. The distance below is CIEDE2000 after each simulation.
| Suggested | Protanopia | Deuteranopia | Tritanopia |
|---|---|---|---|
| success | 19.1 | 21.5 | 27.6 |
| warning | 10.9 | 16.5 | 40.0 |
| error | 5.2 | 3.1 | 40.5 |
| discovery | 12.7 | 10.9 | 5.1 |
| info | 6.0 | 6.3 | 3.6 |
| neutral | 4.3 | 5.1 | 7.5 |
The error suggestion starts out colliding with Dark Slate Gray under Deuteranopia — ΔE₀₀ 3.1, below the 11 threshold — so the engine shifts its hue within the error family until the pair pulls apart again.
Export Dark Slate Gray
The same five formats the generator produces, for this scale. Copy any block, or open the tool to tweak the ramp first.
:root {
--color-color-50: #eef1f1;
--color-color-100: #cdd5d5;
--color-color-200: #acb9b9;
--color-color-300: #8b9c9c;
--color-color-400: #597272;
--color-color-500: #2f4f4f;
--color-color-600: #263f3f;
--color-color-700: #1a2c2c;
--color-color-800: #132020;
--color-color-900: #0b1313;
--color-color-950: #040606;
}$color-color-50: #eef1f1;
$color-color-100: #cdd5d5;
$color-color-200: #acb9b9;
$color-color-300: #8b9c9c;
$color-color-400: #597272;
$color-color-500: #2f4f4f;
$color-color-600: #263f3f;
$color-color-700: #1a2c2c;
$color-color-800: #132020;
$color-color-900: #0b1313;
$color-color-950: #040606;export const color = {
50: '#eef1f1',
100: '#cdd5d5',
200: '#acb9b9',
300: '#8b9c9c',
400: '#597272',
500: '#2f4f4f',
600: '#263f3f',
700: '#1a2c2c',
800: '#132020',
900: '#0b1313',
950: '#040606',
};{
"color": {
"50": "#eef1f1",
"100": "#cdd5d5",
"200": "#acb9b9",
"300": "#8b9c9c",
"400": "#597272",
"500": "#2f4f4f",
"600": "#263f3f",
"700": "#1a2c2c",
"800": "#132020",
"900": "#0b1313",
"950": "#040606"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9333333333333333,
0.9450980392156862,
0.9450980392156862
],
"alpha": 1,
"hex": "#EEF1F1"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.803921568627451,
0.8352941176470589,
0.8352941176470589
],
"alpha": 1,
"hex": "#CDD5D5"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6745098039215687,
0.7254901960784313,
0.7254901960784313
],
"alpha": 1,
"hex": "#ACB9B9"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.5450980392156862,
0.611764705882353,
0.611764705882353
],
"alpha": 1,
"hex": "#8B9C9C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.34901960784313724,
0.4470588235294118,
0.4470588235294118
],
"alpha": 1,
"hex": "#597272"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.1843137254901961,
0.30980392156862746,
0.30980392156862746
],
"alpha": 1,
"hex": "#2F4F4F"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.14901960784313725,
0.24705882352941178,
0.24705882352941178
],
"alpha": 1,
"hex": "#263F3F"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.10196078431372549,
0.17254901960784313,
0.17254901960784313
],
"alpha": 1,
"hex": "#1A2C2C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.07450980392156863,
0.12549019607843137,
0.12549019607843137
],
"alpha": 1,
"hex": "#132020"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.043137254901960784,
0.07450980392156863,
0.07450980392156863
],
"alpha": 1,
"hex": "#0B1313"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.01568627450980392,
0.023529411764705882,
0.023529411764705882
],
"alpha": 1,
"hex": "#040606"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}