#2F4FA2 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 #2F4FA2 works with other colors. Named schemes with #2F4FA2 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 #2F4FA2 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 #2F4FA2 at work across the surfaces designers actually ship.
:root {
--color-base: #2F4FA2;
--color-base-rgb: 47 79 162;
--color-base-oklch: oklch(45.1% 0.140 265.3);
--color-50: #F3F5FC;
--color-100: #DFE5F6;
--color-200: #C0CDED;
--color-300: #94A8DB;
--color-400: #6B85C7;
--color-500: #4A65AB;
--color-600: #3F5283;
--color-700: #313E5E;
--color-800: #232B3E;
--color-900: #171B26;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cobalt-blue: {
50: '#F3F5FC',
100: '#DFE5F6',
200: '#C0CDED',
300: '#94A8DB',
400: '#6B85C7',
500: '#4A65AB',
600: '#3F5283',
700: '#313E5E',
800: '#232B3E',
900: '#171B26',
},
}
$base: #2F4FA2; $base-ink: #FFFFFF; $base-50: #F3F5FC; $base-100: #DFE5F6; $base-200: #C0CDED; $base-300: #94A8DB; $base-400: #6B85C7; $base-500: #4A65AB; $base-600: #3F5283; $base-700: #313E5E; $base-800: #232B3E; $base-900: #171B26; $base-hover: #264082; $base-subtle: #BFCAE5;
{
"color": {
"base": {
"value": "#2F4FA2",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F5FC",
"type": "color"
},
"100": {
"value": "#DFE5F6",
"type": "color"
},
"200": {
"value": "#C0CDED",
"type": "color"
},
"300": {
"value": "#94A8DB",
"type": "color"
},
"400": {
"value": "#6B85C7",
"type": "color"
},
"500": {
"value": "#4A65AB",
"type": "color"
},
"600": {
"value": "#3F5283",
"type": "color"
},
"700": {
"value": "#313E5E",
"type": "color"
},
"800": {
"value": "#232B3E",
"type": "color"
},
"900": {
"value": "#171B26",
"type": "color"
}
}
}
}