#5871FC is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, bold and ownable. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #5871FC works with other colors. Named schemes with #5871FC in its natural role, and a note on why the supporting colors balance it.
Medium Slate Blue is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Medium Slate Blue.
Medium Slate Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Medium Slate Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Medium Slate Blue is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Medium Slate Blue carrying the quiet middle.
Medium Slate Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #5871FC actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.
Not a swatch to memorise — a color to build with. Here is #5871FC at work across the surfaces designers actually ship.
:root {
--color-base: #5871FC;
--color-base-rgb: 88 113 252;
--color-base-oklch: oklch(60.7% 0.208 271.2);
--color-50: #F0F2FE;
--color-100: #D8DDFD;
--color-200: #B1BCFC;
--color-300: #7A8CF6;
--color-400: #4A61E8;
--color-500: #263FCF;
--color-600: #25379D;
--color-700: #212C6E;
--color-800: #192048;
--color-900: #12162C;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
medium-slate-blue: {
50: '#F0F2FE',
100: '#D8DDFD',
200: '#B1BCFC',
300: '#7A8CF6',
400: '#4A61E8',
500: '#263FCF',
600: '#25379D',
700: '#212C6E',
800: '#192048',
900: '#12162C',
},
}
$base: #5871FC; $base-ink: #141310; $base-50: #F0F2FE; $base-100: #D8DDFD; $base-200: #B1BCFC; $base-300: #7A8CF6; $base-400: #4A61E8; $base-500: #263FCF; $base-600: #25379D; $base-700: #212C6E; $base-800: #192048; $base-900: #12162C; $base-hover: #1739FA; $base-subtle: #D3D9F8;
{
"color": {
"base": {
"value": "#5871FC",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F2FE",
"type": "color"
},
"100": {
"value": "#D8DDFD",
"type": "color"
},
"200": {
"value": "#B1BCFC",
"type": "color"
},
"300": {
"value": "#7A8CF6",
"type": "color"
},
"400": {
"value": "#4A61E8",
"type": "color"
},
"500": {
"value": "#263FCF",
"type": "color"
},
"600": {
"value": "#25379D",
"type": "color"
},
"700": {
"value": "#212C6E",
"type": "color"
},
"800": {
"value": "#192048",
"type": "color"
},
"900": {
"value": "#12162C",
"type": "color"
}
}
}
}