#334271 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 reproduces cleanly in print.
Not just a swatch — here's how #334271 works with other colors. Named schemes with #334271 in its natural role, and a note on why the supporting colors balance it.
Classic Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Classic Blue keeps this Nordic scheme quiet — cool greys and a soft white around it, a muted-blue support and a charcoal anchor.
Classic 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 Classic Blue.
Classic 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.
Classic 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 Classic Blue carrying the quiet middle.
How #334271 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 #334271 at work across the surfaces designers actually ship.
:root {
--color-base: #334271;
--color-base-rgb: 51 66 113;
--color-base-oklch: oklch(39.0% 0.082 269.0);
--color-50: #F4F6FB;
--color-100: #E2E7F3;
--color-200: #C7CEE6;
--color-300: #9FABD0;
--color-400: #7A89B8;
--color-500: #596A9C;
--color-600: #495579;
--color-700: #384057;
--color-800: #272C3A;
--color-900: #191C24;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
classic-blue: {
50: '#F4F6FB',
100: '#E2E7F3',
200: '#C7CEE6',
300: '#9FABD0',
400: '#7A89B8',
500: '#596A9C',
600: '#495579',
700: '#384057',
800: '#272C3A',
900: '#191C24',
},
}
$base: #334271; $base-ink: #FFFFFF; $base-50: #F4F6FB; $base-100: #E2E7F3; $base-200: #C7CEE6; $base-300: #9FABD0; $base-400: #7A89B8; $base-500: #596A9C; $base-600: #495579; $base-700: #384057; $base-800: #272C3A; $base-900: #191C24; $base-hover: #28355A; $base-subtle: #BCC3DA;
{
"color": {
"base": {
"value": "#334271",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F4F6FB",
"type": "color"
},
"100": {
"value": "#E2E7F3",
"type": "color"
},
"200": {
"value": "#C7CEE6",
"type": "color"
},
"300": {
"value": "#9FABD0",
"type": "color"
},
"400": {
"value": "#7A89B8",
"type": "color"
},
"500": {
"value": "#596A9C",
"type": "color"
},
"600": {
"value": "#495579",
"type": "color"
},
"700": {
"value": "#384057",
"type": "color"
},
"800": {
"value": "#272C3A",
"type": "color"
},
"900": {
"value": "#191C24",
"type": "color"
}
}
}
}