#2D398F 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 #2D398F works with other colors. Named schemes with #2D398F 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 #2D398F 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 #2D398F at work across the surfaces designers actually ship.
:root {
--color-base: #2D398F;
--color-base-rgb: 45 57 143;
--color-base-oklch: oklch(38.9% 0.142 272.0);
--color-50: #F3F4FC;
--color-100: #DFE2F6;
--color-200: #C1C6EB;
--color-300: #969ED9;
--color-400: #6E78C4;
--color-500: #4D57A8;
--color-600: #414881;
--color-700: #32375C;
--color-800: #24273D;
--color-900: #181926;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
dark-slate-blue: {
50: '#F3F4FC',
100: '#DFE2F6',
200: '#C1C6EB',
300: '#969ED9',
400: '#6E78C4',
500: '#4D57A8',
600: '#414881',
700: '#32375C',
800: '#24273D',
900: '#181926',
},
}
$base: #2D398F; $base-ink: #FFFFFF; $base-50: #F3F4FC; $base-100: #DFE2F6; $base-200: #C1C6EB; $base-300: #969ED9; $base-400: #6E78C4; $base-500: #4D57A8; $base-600: #414881; $base-700: #32375C; $base-800: #24273D; $base-900: #181926; $base-hover: #242D73; $base-subtle: #BCC0E2;
{
"color": {
"base": {
"value": "#2D398F",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F4FC",
"type": "color"
},
"100": {
"value": "#DFE2F6",
"type": "color"
},
"200": {
"value": "#C1C6EB",
"type": "color"
},
"300": {
"value": "#969ED9",
"type": "color"
},
"400": {
"value": "#6E78C4",
"type": "color"
},
"500": {
"value": "#4D57A8",
"type": "color"
},
"600": {
"value": "#414881",
"type": "color"
},
"700": {
"value": "#32375C",
"type": "color"
},
"800": {
"value": "#24273D",
"type": "color"
},
"900": {
"value": "#181926",
"type": "color"
}
}
}
}