#4064DA 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 #4064DA works with other colors. Named schemes with #4064DA in its natural role, and a note on why the supporting colors balance it.
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 opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
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.
Royal Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #4064DA 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 #4064DA at work across the surfaces designers actually ship.
:root {
--color-base: #4064DA;
--color-base-rgb: 64 100 218;
--color-base-oklch: oklch(54.4% 0.185 267.2);
--color-50: #F2F4FD;
--color-100: #DCE3F9;
--color-200: #BBC7F2;
--color-300: #8CA0E3;
--color-400: #617BD1;
--color-500: #3F5AB6;
--color-600: #374A8B;
--color-700: #2C3963;
--color-800: #202841;
--color-900: #151A28;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
royal-blue: {
50: '#F2F4FD',
100: '#DCE3F9',
200: '#BBC7F2',
300: '#8CA0E3',
400: '#617BD1',
500: '#3F5AB6',
600: '#374A8B',
700: '#2C3963',
800: '#202841',
900: '#151A28',
},
}
$base: #4064DA; $base-ink: #FFFFFF; $base-50: #F2F4FD; $base-100: #DCE3F9; $base-200: #BBC7F2; $base-300: #8CA0E3; $base-400: #617BD1; $base-500: #3F5AB6; $base-600: #374A8B; $base-700: #2C3963; $base-800: #202841; $base-900: #151A28; $base-hover: #2448BC; $base-subtle: #CBD3EE;
{
"color": {
"base": {
"value": "#4064DA",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F2F4FD",
"type": "color"
},
"100": {
"value": "#DCE3F9",
"type": "color"
},
"200": {
"value": "#BBC7F2",
"type": "color"
},
"300": {
"value": "#8CA0E3",
"type": "color"
},
"400": {
"value": "#617BD1",
"type": "color"
},
"500": {
"value": "#3F5AB6",
"type": "color"
},
"600": {
"value": "#374A8B",
"type": "color"
},
"700": {
"value": "#2C3963",
"type": "color"
},
"800": {
"value": "#202841",
"type": "color"
},
"900": {
"value": "#151A28",
"type": "color"
}
}
}
}