#334A8A 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 #334A8A works with other colors. Named schemes with #334A8A 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 #334A8A 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 #334A8A at work across the surfaces designers actually ship.
:root {
--color-base: #334A8A;
--color-base-rgb: 51 74 138;
--color-base-oklch: oklch(42.5% 0.110 266.9);
--color-50: #F3F6FB;
--color-100: #E1E6F5;
--color-200: #C4CDE9;
--color-300: #9AAAD5;
--color-400: #7387BF;
--color-500: #5268A3;
--color-600: #44547E;
--color-700: #353F5A;
--color-800: #252B3C;
--color-900: #181C25;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
classic-blue: {
50: '#F3F6FB',
100: '#E1E6F5',
200: '#C4CDE9',
300: '#9AAAD5',
400: '#7387BF',
500: '#5268A3',
600: '#44547E',
700: '#353F5A',
800: '#252B3C',
900: '#181C25',
},
}
$base: #334A8A; $base-ink: #FFFFFF; $base-50: #F3F6FB; $base-100: #E1E6F5; $base-200: #C4CDE9; $base-300: #9AAAD5; $base-400: #7387BF; $base-500: #5268A3; $base-600: #44547E; $base-700: #353F5A; $base-800: #252B3C; $base-900: #181C25; $base-hover: #293B6E; $base-subtle: #BEC7E0;
{
"color": {
"base": {
"value": "#334A8A",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F6FB",
"type": "color"
},
"100": {
"value": "#E1E6F5",
"type": "color"
},
"200": {
"value": "#C4CDE9",
"type": "color"
},
"300": {
"value": "#9AAAD5",
"type": "color"
},
"400": {
"value": "#7387BF",
"type": "color"
},
"500": {
"value": "#5268A3",
"type": "color"
},
"600": {
"value": "#44547E",
"type": "color"
},
"700": {
"value": "#353F5A",
"type": "color"
},
"800": {
"value": "#252B3C",
"type": "color"
},
"900": {
"value": "#181C25",
"type": "color"
}
}
}
}