#313D98 is a mid-toned, 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 #313D98 works with other colors. Named schemes with #313D98 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 #313D98 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 #313D98 at work across the surfaces designers actually ship.
:root {
--color-base: #313D98;
--color-base-rgb: 49 61 152;
--color-base-oklch: oklch(40.7% 0.148 272.3);
--color-50: #F3F4FC;
--color-100: #E0E2F6;
--color-200: #C1C6EB;
--color-300: #979ED9;
--color-400: #6F79C3;
--color-500: #4E58A7;
--color-600: #414981;
--color-700: #33385C;
--color-800: #24273D;
--color-900: #181926;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
dark-slate-blue: {
50: '#F3F4FC',
100: '#E0E2F6',
200: '#C1C6EB',
300: '#979ED9',
400: '#6F79C3',
500: '#4E58A7',
600: '#414981',
700: '#33385C',
800: '#24273D',
900: '#181926',
},
}
$base: #313D98; $base-ink: #FFFFFF; $base-50: #F3F4FC; $base-100: #E0E2F6; $base-200: #C1C6EB; $base-300: #979ED9; $base-400: #6F79C3; $base-500: #4E58A7; $base-600: #414981; $base-700: #33385C; $base-800: #24273D; $base-900: #181926; $base-hover: #273078; $base-subtle: #BEC2E2;
{
"color": {
"base": {
"value": "#313D98",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F4FC",
"type": "color"
},
"100": {
"value": "#E0E2F6",
"type": "color"
},
"200": {
"value": "#C1C6EB",
"type": "color"
},
"300": {
"value": "#979ED9",
"type": "color"
},
"400": {
"value": "#6F79C3",
"type": "color"
},
"500": {
"value": "#4E58A7",
"type": "color"
},
"600": {
"value": "#414981",
"type": "color"
},
"700": {
"value": "#33385C",
"type": "color"
},
"800": {
"value": "#24273D",
"type": "color"
},
"900": {
"value": "#181926",
"type": "color"
}
}
}
}