#3540BB 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 #3540BB works with other colors. Named schemes with #3540BB 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 #3540BB 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 #3540BB at work across the surfaces designers actually ship.
:root {
--color-base: #3540BB;
--color-base-rgb: 53 64 187;
--color-base-oklch: oklch(44.6% 0.191 272.0);
--color-50: #F3F3FC;
--color-100: #DFE1F7;
--color-200: #BFC3ED;
--color-300: #9399DC;
--color-400: #6B72C7;
--color-500: #4951AC;
--color-600: #3E4484;
--color-700: #31355E;
--color-800: #23253E;
--color-900: #171826;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cerulean: {
50: '#F3F3FC',
100: '#DFE1F7',
200: '#BFC3ED',
300: '#9399DC',
400: '#6B72C7',
500: '#4951AC',
600: '#3E4484',
700: '#31355E',
800: '#23253E',
900: '#171826',
},
}
$base: #3540BB; $base-ink: #FFFFFF; $base-50: #F3F3FC; $base-100: #DFE1F7; $base-200: #BFC3ED; $base-300: #9399DC; $base-400: #6B72C7; $base-500: #4951AC; $base-600: #3E4484; $base-700: #31355E; $base-800: #23253E; $base-900: #171826; $base-hover: #2A3396; $base-subtle: #C5C8E8;
{
"color": {
"base": {
"value": "#3540BB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F3FC",
"type": "color"
},
"100": {
"value": "#DFE1F7",
"type": "color"
},
"200": {
"value": "#BFC3ED",
"type": "color"
},
"300": {
"value": "#9399DC",
"type": "color"
},
"400": {
"value": "#6B72C7",
"type": "color"
},
"500": {
"value": "#4951AC",
"type": "color"
},
"600": {
"value": "#3E4484",
"type": "color"
},
"700": {
"value": "#31355E",
"type": "color"
},
"800": {
"value": "#23253E",
"type": "color"
},
"900": {
"value": "#171826",
"type": "color"
}
}
}
}