#313BAF 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 #313BAF works with other colors. Named schemes with #313BAF 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 #313BAF 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 #313BAF at work across the surfaces designers actually ship.
:root {
--color-base: #313BAF;
--color-base-rgb: 49 59 175;
--color-base-oklch: oklch(42.4% 0.182 272.1);
--color-50: #F3F3FC;
--color-100: #DFE1F7;
--color-200: #BFC3ED;
--color-300: #9399DC;
--color-400: #6B72C7;
--color-500: #4951AC;
--color-600: #3E4484;
--color-700: #31355E;
--color-800: #23253E;
--color-900: #171826;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cobalt-blue: {
50: '#F3F3FC',
100: '#DFE1F7',
200: '#BFC3ED',
300: '#9399DC',
400: '#6B72C7',
500: '#4951AC',
600: '#3E4484',
700: '#31355E',
800: '#23253E',
900: '#171826',
},
}
$base: #313BAF; $base-ink: #FFFFFF; $base-50: #F3F3FC; $base-100: #DFE1F7; $base-200: #BFC3ED; $base-300: #9399DC; $base-400: #6B72C7; $base-500: #4951AC; $base-600: #3E4484; $base-700: #31355E; $base-800: #23253E; $base-900: #171826; $base-hover: #27308C; $base-subtle: #C2C5E6;
{
"color": {
"base": {
"value": "#313BAF",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F3FC",
"type": "color"
},
"100": {
"value": "#DFE1F7",
"type": "color"
},
"200": {
"value": "#BFC3ED",
"type": "color"
},
"300": {
"value": "#9399DC",
"type": "color"
},
"400": {
"value": "#6B72C7",
"type": "color"
},
"500": {
"value": "#4951AC",
"type": "color"
},
"600": {
"value": "#3E4484",
"type": "color"
},
"700": {
"value": "#31355E",
"type": "color"
},
"800": {
"value": "#23253E",
"type": "color"
},
"900": {
"value": "#171826",
"type": "color"
}
}
}
}