#334ED6 is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, bold and ownable. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #334ED6 works with other colors. Named schemes with #334ED6 in its natural role, and a note on why the supporting colors balance it.
Cerulean is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Cerulean.
Cerulean opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Cerulean sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Cerulean 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 Cerulean carrying the quiet middle.
Cerulean glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #334ED6 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 #334ED6 at work across the surfaces designers actually ship.
:root {
--color-base: #334ED6;
--color-base-rgb: 51 78 214;
--color-base-oklch: oklch(49.4% 0.210 268.5);
--color-50: #F2F4FD;
--color-100: #DCE1F9;
--color-200: #BBC4F1;
--color-300: #8C9BE3;
--color-400: #6274D0;
--color-500: #3F53B5;
--color-600: #37458B;
--color-700: #2C3562;
--color-800: #202641;
--color-900: #161928;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cerulean: {
50: '#F2F4FD',
100: '#DCE1F9',
200: '#BBC4F1',
300: '#8C9BE3',
400: '#6274D0',
500: '#3F53B5',
600: '#37458B',
700: '#2C3562',
800: '#202641',
900: '#161928',
},
}
$base: #334ED6; $base-ink: #FFFFFF; $base-50: #F2F4FD; $base-100: #DCE1F9; $base-200: #BBC4F1; $base-300: #8C9BE3; $base-400: #6274D0; $base-500: #3F53B5; $base-600: #37458B; $base-700: #2C3562; $base-800: #202641; $base-900: #161928; $base-hover: #233BB1; $base-subtle: #C8CEED;
{
"color": {
"base": {
"value": "#334ED6",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F2F4FD",
"type": "color"
},
"100": {
"value": "#DCE1F9",
"type": "color"
},
"200": {
"value": "#BBC4F1",
"type": "color"
},
"300": {
"value": "#8C9BE3",
"type": "color"
},
"400": {
"value": "#6274D0",
"type": "color"
},
"500": {
"value": "#3F53B5",
"type": "color"
},
"600": {
"value": "#37458B",
"type": "color"
},
"700": {
"value": "#2C3562",
"type": "color"
},
"800": {
"value": "#202641",
"type": "color"
},
"900": {
"value": "#161928",
"type": "color"
}
}
}
}