#313C8F is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #313C8F works with other colors. Named schemes with #313C8F in its natural role, and a note on why the supporting colors balance it.
Dark Slate Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Dark 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 Dark Slate Blue.
Dark Slate Blue plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Dark Slate Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Dark 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 Dark Slate Blue carrying the quiet middle.
How #313C8F 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 #313C8F at work across the surfaces designers actually ship.
:root {
--color-base: #313C8F;
--color-base-rgb: 49 60 143;
--color-base-oklch: oklch(39.8% 0.137 272.8);
--color-50: #F3F4FB;
--color-100: #E0E2F5;
--color-200: #C2C7EA;
--color-300: #989FD7;
--color-400: #707AC2;
--color-500: #4F59A6;
--color-600: #424A7F;
--color-700: #34385B;
--color-800: #25273C;
--color-900: #181A25;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
dark-slate-blue: {
50: '#F3F4FB',
100: '#E0E2F5',
200: '#C2C7EA',
300: '#989FD7',
400: '#707AC2',
500: '#4F59A6',
600: '#424A7F',
700: '#34385B',
800: '#25273C',
900: '#181A25',
},
}
$base: #313C8F; $base-ink: #FFFFFF; $base-50: #F3F4FB; $base-100: #E0E2F5; $base-200: #C2C7EA; $base-300: #989FD7; $base-400: #707AC2; $base-500: #4F59A6; $base-600: #424A7F; $base-700: #34385B; $base-800: #25273C; $base-900: #181A25; $base-hover: #283074; $base-subtle: #BEC2E1;
{
"color": {
"base": {
"value": "#313C8F",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F4FB",
"type": "color"
},
"100": {
"value": "#E0E2F5",
"type": "color"
},
"200": {
"value": "#C2C7EA",
"type": "color"
},
"300": {
"value": "#989FD7",
"type": "color"
},
"400": {
"value": "#707AC2",
"type": "color"
},
"500": {
"value": "#4F59A6",
"type": "color"
},
"600": {
"value": "#424A7F",
"type": "color"
},
"700": {
"value": "#34385B",
"type": "color"
},
"800": {
"value": "#25273C",
"type": "color"
},
"900": {
"value": "#181A25",
"type": "color"
}
}
}
}