#336BD2 is a mid-toned, cool violet. On the Color Lab it reads clean and engineered. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #336BD2 works with other colors. Named schemes with #336BD2 in its natural role, and a note on why the supporting colors balance it.
Royal Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Royal 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 Royal Blue.
Royal 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.
Royal Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Royal 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 Royal Blue carrying the quiet middle.
How #336BD2 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 #336BD2 at work across the surfaces designers actually ship.
:root {
--color-base: #336BD2;
--color-base-rgb: 51 107 210;
--color-base-oklch: oklch(54.7% 0.170 261.3);
--color-50: #F2F6FD;
--color-100: #DDE6F8;
--color-200: #BCCEF0;
--color-300: #8EABE1;
--color-400: #6489CE;
--color-500: #4269B3;
--color-600: #395589;
--color-700: #2E4061;
--color-800: #212C40;
--color-900: #161C27;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
royal-blue: {
50: '#F2F6FD',
100: '#DDE6F8',
200: '#BCCEF0',
300: '#8EABE1',
400: '#6489CE',
500: '#4269B3',
600: '#395589',
700: '#2E4061',
800: '#212C40',
900: '#161C27',
},
}
$base: #336BD2; $base-ink: #FFFFFF; $base-50: #F2F6FD; $base-100: #DDE6F8; $base-200: #BCCEF0; $base-300: #8EABE1; $base-400: #6489CE; $base-500: #4269B3; $base-600: #395589; $base-700: #2E4061; $base-800: #212C40; $base-900: #161C27; $base-hover: #2554AB; $base-subtle: #C7D4EC;
{
"color": {
"base": {
"value": "#336BD2",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F2F6FD",
"type": "color"
},
"100": {
"value": "#DDE6F8",
"type": "color"
},
"200": {
"value": "#BCCEF0",
"type": "color"
},
"300": {
"value": "#8EABE1",
"type": "color"
},
"400": {
"value": "#6489CE",
"type": "color"
},
"500": {
"value": "#4269B3",
"type": "color"
},
"600": {
"value": "#395589",
"type": "color"
},
"700": {
"value": "#2E4061",
"type": "color"
},
"800": {
"value": "#212C40",
"type": "color"
},
"900": {
"value": "#161C27",
"type": "color"
}
}
}
}