Blue — 11-step color scale
Blue (#0000ff) sits at 500, untouched. Every other step is 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.
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 Blue
Success, warning, error and the rest are derived from 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 | 63.3 | 60.3 | 22.7 |
| warning | 59.9 | 66.1 | 50.9 |
| error | 23.2 | 37.7 | 50.5 |
| discovery | 9.6 | 10.6 | 9.5 |
| info | 20.7 | 19.2 | 17.8 |
| neutral | 19.1 | 22.5 | 16.9 |
The discovery suggestion starts out colliding with Blue under Tritanopia — ΔE₀₀ 9.5, below the 11 threshold — so the engine shifts its hue within the discovery family until the pair pulls apart again.
Export 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: #ebebff;
--color-color-100: #c2c2ff;
--color-color-200: #9999ff;
--color-color-300: #7070ff;
--color-color-400: #3333ff;
--color-color-500: #0000ff;
--color-color-600: #0000cc;
--color-color-700: #00008f;
--color-color-800: #000066;
--color-color-900: #00003d;
--color-color-950: #000014;
}$color-color-50: #ebebff;
$color-color-100: #c2c2ff;
$color-color-200: #9999ff;
$color-color-300: #7070ff;
$color-color-400: #3333ff;
$color-color-500: #0000ff;
$color-color-600: #0000cc;
$color-color-700: #00008f;
$color-color-800: #000066;
$color-color-900: #00003d;
$color-color-950: #000014;export const color = {
50: '#ebebff',
100: '#c2c2ff',
200: '#9999ff',
300: '#7070ff',
400: '#3333ff',
500: '#0000ff',
600: '#0000cc',
700: '#00008f',
800: '#000066',
900: '#00003d',
950: '#000014',
};{
"color": {
"50": "#ebebff",
"100": "#c2c2ff",
"200": "#9999ff",
"300": "#7070ff",
"400": "#3333ff",
"500": "#0000ff",
"600": "#0000cc",
"700": "#00008f",
"800": "#000066",
"900": "#00003d",
"950": "#000014"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9215686274509803,
0.9215686274509803,
1
],
"alpha": 1,
"hex": "#EBEBFF"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.7607843137254902,
0.7607843137254902,
1
],
"alpha": 1,
"hex": "#C2C2FF"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6,
0.6,
1
],
"alpha": 1,
"hex": "#9999FF"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4392156862745098,
0.4392156862745098,
1
],
"alpha": 1,
"hex": "#7070FF"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.2,
0.2,
1
],
"alpha": 1,
"hex": "#3333FF"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
1
],
"alpha": 1,
"hex": "#0000FF"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.8
],
"alpha": 1,
"hex": "#0000CC"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.5607843137254902
],
"alpha": 1,
"hex": "#00008F"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.4
],
"alpha": 1,
"hex": "#000066"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.23921568627450981
],
"alpha": 1,
"hex": "#00003D"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.0784313725490196
],
"alpha": 1,
"hex": "#000014"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}