#304E8A 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 #304E8A works with other colors. Named schemes with #304E8A 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 #304E8A 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 #304E8A at work across the surfaces designers actually ship.
:root {
--color-base: #304E8A;
--color-base-rgb: 48 78 138;
--color-base-oklch: oklch(43.2% 0.106 262.7);
--color-50: #F3F6FB;
--color-100: #E0E7F5;
--color-200: #C3D0EA;
--color-300: #99ADD7;
--color-400: #718CC1;
--color-500: #506CA5;
--color-600: #43577F;
--color-700: #34415B;
--color-800: #252D3C;
--color-900: #181C25;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
classic-blue: {
50: '#F3F6FB',
100: '#E0E7F5',
200: '#C3D0EA',
300: '#99ADD7',
400: '#718CC1',
500: '#506CA5',
600: '#43577F',
700: '#34415B',
800: '#252D3C',
900: '#181C25',
},
}
$base: #304E8A; $base-ink: #FFFFFF; $base-50: #F3F6FB; $base-100: #E0E7F5; $base-200: #C3D0EA; $base-300: #99ADD7; $base-400: #718CC1; $base-500: #506CA5; $base-600: #43577F; $base-700: #34415B; $base-800: #252D3C; $base-900: #181C25; $base-hover: #263E6D; $base-subtle: #BCC8E0;
{
"color": {
"base": {
"value": "#304E8A",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F6FB",
"type": "color"
},
"100": {
"value": "#E0E7F5",
"type": "color"
},
"200": {
"value": "#C3D0EA",
"type": "color"
},
"300": {
"value": "#99ADD7",
"type": "color"
},
"400": {
"value": "#718CC1",
"type": "color"
},
"500": {
"value": "#506CA5",
"type": "color"
},
"600": {
"value": "#43577F",
"type": "color"
},
"700": {
"value": "#34415B",
"type": "color"
},
"800": {
"value": "#252D3C",
"type": "color"
},
"900": {
"value": "#181C25",
"type": "color"
}
}
}
}