#334A8E 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 #334A8E works with other colors. Named schemes with #334A8E 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 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 sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
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 #334A8E 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 #334A8E at work across the surfaces designers actually ship.
:root {
--color-base: #334A8E;
--color-base-rgb: 51 74 142;
--color-base-oklch: oklch(42.8% 0.116 267.3);
--color-50: #F3F5FB;
--color-100: #E0E6F5;
--color-200: #C3CDE9;
--color-300: #99A8D6;
--color-400: #7286C0;
--color-500: #5166A4;
--color-600: #44527E;
--color-700: #343E5A;
--color-800: #252B3C;
--color-900: #181B25;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
classic-blue: {
50: '#F3F5FB',
100: '#E0E6F5',
200: '#C3CDE9',
300: '#99A8D6',
400: '#7286C0',
500: '#5166A4',
600: '#44527E',
700: '#343E5A',
800: '#252B3C',
900: '#181B25',
},
}
$base: #334A8E; $base-ink: #FFFFFF; $base-50: #F3F5FB; $base-100: #E0E6F5; $base-200: #C3CDE9; $base-300: #99A8D6; $base-400: #7286C0; $base-500: #5166A4; $base-600: #44527E; $base-700: #343E5A; $base-800: #252B3C; $base-900: #181B25; $base-hover: #293B72; $base-subtle: #BFC7E1;
{
"color": {
"base": {
"value": "#334A8E",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F5FB",
"type": "color"
},
"100": {
"value": "#E0E6F5",
"type": "color"
},
"200": {
"value": "#C3CDE9",
"type": "color"
},
"300": {
"value": "#99A8D6",
"type": "color"
},
"400": {
"value": "#7286C0",
"type": "color"
},
"500": {
"value": "#5166A4",
"type": "color"
},
"600": {
"value": "#44527E",
"type": "color"
},
"700": {
"value": "#343E5A",
"type": "color"
},
"800": {
"value": "#252B3C",
"type": "color"
},
"900": {
"value": "#181B25",
"type": "color"
}
}
}
}