Medium Blue — 11-step color scale
Medium Blue (#0000cd) sits at 500, untouched. Every other step is Medium 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 Medium 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 Medium Blue
Success, warning, error and the rest are derived from Medium 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 | 58.9 | 55.7 | 20.6 |
| warning | 54.5 | 61.2 | 46.8 |
| error | 19.9 | 31.3 | 45.7 |
| discovery | 8.9 | 9.6 | 8.8 |
| info | 20.3 | 18.6 | 16.4 |
| neutral | 18.7 | 21.1 | 15.2 |
The discovery suggestion starts out colliding with Medium Blue under Tritanopia — ΔE₀₀ 8.8, below the 11 threshold — so the engine shifts its hue within the discovery family until the pair pulls apart again.
Export Medium 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: #ebebfb;
--color-color-100: #c2c2f3;
--color-color-200: #9999eb;
--color-color-300: #7070e3;
--color-color-400: #3333d7;
--color-color-500: #0000cd;
--color-color-600: #0000a4;
--color-color-700: #000073;
--color-color-800: #000052;
--color-color-900: #000031;
--color-color-950: #000010;
}$color-color-50: #ebebfb;
$color-color-100: #c2c2f3;
$color-color-200: #9999eb;
$color-color-300: #7070e3;
$color-color-400: #3333d7;
$color-color-500: #0000cd;
$color-color-600: #0000a4;
$color-color-700: #000073;
$color-color-800: #000052;
$color-color-900: #000031;
$color-color-950: #000010;export const color = {
50: '#ebebfb',
100: '#c2c2f3',
200: '#9999eb',
300: '#7070e3',
400: '#3333d7',
500: '#0000cd',
600: '#0000a4',
700: '#000073',
800: '#000052',
900: '#000031',
950: '#000010',
};{
"color": {
"50": "#ebebfb",
"100": "#c2c2f3",
"200": "#9999eb",
"300": "#7070e3",
"400": "#3333d7",
"500": "#0000cd",
"600": "#0000a4",
"700": "#000073",
"800": "#000052",
"900": "#000031",
"950": "#000010"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9215686274509803,
0.9215686274509803,
0.984313725490196
],
"alpha": 1,
"hex": "#EBEBFB"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.7607843137254902,
0.7607843137254902,
0.9529411764705882
],
"alpha": 1,
"hex": "#C2C2F3"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6,
0.6,
0.9215686274509803
],
"alpha": 1,
"hex": "#9999EB"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4392156862745098,
0.4392156862745098,
0.8901960784313725
],
"alpha": 1,
"hex": "#7070E3"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.2,
0.2,
0.8431372549019608
],
"alpha": 1,
"hex": "#3333D7"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.803921568627451
],
"alpha": 1,
"hex": "#0000CD"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.6431372549019608
],
"alpha": 1,
"hex": "#0000A4"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.45098039215686275
],
"alpha": 1,
"hex": "#000073"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.3215686274509804
],
"alpha": 1,
"hex": "#000052"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.19215686274509805
],
"alpha": 1,
"hex": "#000031"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0,
0,
0.06274509803921569
],
"alpha": 1,
"hex": "#000010"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}