#313EA6 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 #313EA6 works with other colors. Named schemes with #313EA6 in its natural role, and a note on why the supporting colors balance it.
Cobalt Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Cobalt 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 Cobalt Blue.
Cobalt 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.
Cobalt Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Cobalt 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 Cobalt Blue carrying the quiet middle.
How #313EA6 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 #313EA6 at work across the surfaces designers actually ship.
:root {
--color-base: #313EA6;
--color-base-rgb: 49 62 166;
--color-base-oklch: oklch(42.1% 0.166 271.7);
--color-50: #F3F4FC;
--color-100: #DFE2F6;
--color-200: #C0C5EC;
--color-300: #959DDA;
--color-400: #6C77C6;
--color-500: #4B56AA;
--color-600: #3F4783;
--color-700: #32375D;
--color-800: #23263D;
--color-900: #171926;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cobalt-blue: {
50: '#F3F4FC',
100: '#DFE2F6',
200: '#C0C5EC',
300: '#959DDA',
400: '#6C77C6',
500: '#4B56AA',
600: '#3F4783',
700: '#32375D',
800: '#23263D',
900: '#171926',
},
}
$base: #313EA6; $base-ink: #FFFFFF; $base-50: #F3F4FC; $base-100: #DFE2F6; $base-200: #C0C5EC; $base-300: #959DDA; $base-400: #6C77C6; $base-500: #4B56AA; $base-600: #3F4783; $base-700: #32375D; $base-800: #23263D; $base-900: #171926; $base-hover: #273284; $base-subtle: #C0C5E5;
{
"color": {
"base": {
"value": "#313EA6",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F4FC",
"type": "color"
},
"100": {
"value": "#DFE2F6",
"type": "color"
},
"200": {
"value": "#C0C5EC",
"type": "color"
},
"300": {
"value": "#959DDA",
"type": "color"
},
"400": {
"value": "#6C77C6",
"type": "color"
},
"500": {
"value": "#4B56AA",
"type": "color"
},
"600": {
"value": "#3F4783",
"type": "color"
},
"700": {
"value": "#32375D",
"type": "color"
},
"800": {
"value": "#23263D",
"type": "color"
},
"900": {
"value": "#171926",
"type": "color"
}
}
}
}