Dark Blue — 11-step color scale
Dark Blue (#00008b) sits at 500, untouched. Every other step is Dark Blue 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 Blue 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 Blue
Success, warning, error and the rest are derived from Dark Blue 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 | 50.0 | 48.0 | 17.5 |
| warning | 43.0 | 51.6 | 39.8 |
| error | 18.3 | 31.9 | 38.6 |
| discovery | 7.0 | 7.8 | 7.3 |
| info | 13.2 | 13.3 | 12.4 |
| neutral | 17.5 | 19.8 | 14.0 |
The discovery suggestion starts out colliding with Dark Blue under Protanopia — ΔE₀₀ 7.0, below the 11 threshold — so the engine shifts its hue within the discovery family until the pair pulls apart again.
Export Dark Blue
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: #ebebf6;
--color-color-100: #c2c2e3;
--color-color-200: #9999d1;
--color-color-300: #7070be;
--color-color-400: #3333a2;
--color-color-500: #00008b;
--color-color-600: #00006f;
--color-color-700: #00004e;
--color-color-800: #000038;
--color-color-900: #000021;
--color-color-950: #00000b;
}$color-color-50: #ebebf6;
$color-color-100: #c2c2e3;
$color-color-200: #9999d1;
$color-color-300: #7070be;
$color-color-400: #3333a2;
$color-color-500: #00008b;
$color-color-600: #00006f;
$color-color-700: #00004e;
$color-color-800: #000038;
$color-color-900: #000021;
$color-color-950: #00000b;export const color = {
50: '#ebebf6',
100: '#c2c2e3',
200: '#9999d1',
300: '#7070be',
400: '#3333a2',
500: '#00008b',
600: '#00006f',
700: '#00004e',
800: '#000038',
900: '#000021',
950: '#00000b',
};{
"color": {
"50": "#ebebf6",
"100": "#c2c2e3",
"200": "#9999d1",
"300": "#7070be",
"400": "#3333a2",
"500": "#00008b",
"600": "#00006f",
"700": "#00004e",
"800": "#000038",
"900": "#000021",
"950": "#00000b"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9215686274509803,
0.9215686274509803,
0.9647058823529412
],
"alpha": 1,
"hex": "#EBEBF6"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.7607843137254902,
0.7607843137254902,
0.8901960784313725
],
"alpha": 1,
"hex": "#C2C2E3"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6,
0.6,
0.8196078431372549
],
"alpha": 1,
"hex": "#9999D1"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4392156862745098,
0.4392156862745098,
0.7450980392156863
],
"alpha": 1,
"hex": "#7070BE"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.2,
0.2,
0.6352941176470588
],
"alpha": 1,
"hex": "#3333A2"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.5450980392156862
],
"alpha": 1,
"hex": "#00008B"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.43529411764705883
],
"alpha": 1,
"hex": "#00006F"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.3058823529411765
],
"alpha": 1,
"hex": "#00004E"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.2196078431372549
],
"alpha": 1,
"hex": "#000038"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.12941176470588237
],
"alpha": 1,
"hex": "#000021"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.043137254901960784
],
"alpha": 1,
"hex": "#00000B"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}