#3840BB 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 #3840BB works with other colors. Named schemes with #3840BB 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 #3840BB 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 #3840BB at work across the surfaces designers actually ship.
:root {
--color-base: #3840BB;
--color-base-rgb: 56 64 187;
--color-base-oklch: oklch(44.8% 0.190 273.0);
--color-50: #F3F3FC;
--color-100: #DFE1F6;
--color-200: #C0C3EC;
--color-300: #9599DA;
--color-400: #6C72C6;
--color-500: #4B51AA;
--color-600: #3F4483;
--color-700: #32355D;
--color-800: #23253D;
--color-900: #171826;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cerulean: {
50: '#F3F3FC',
100: '#DFE1F6',
200: '#C0C3EC',
300: '#9599DA',
400: '#6C72C6',
500: '#4B51AA',
600: '#3F4483',
700: '#32355D',
800: '#23253D',
900: '#171826',
},
}
$base: #3840BB; $base-ink: #FFFFFF; $base-50: #F3F3FC; $base-100: #DFE1F6; $base-200: #C0C3EC; $base-300: #9599DA; $base-400: #6C72C6; $base-500: #4B51AA; $base-600: #3F4483; $base-700: #32355D; $base-800: #23253D; $base-900: #171826; $base-hover: #2D3497; $base-subtle: #C7C9E8;
{
"color": {
"base": {
"value": "#3840BB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F3FC",
"type": "color"
},
"100": {
"value": "#DFE1F6",
"type": "color"
},
"200": {
"value": "#C0C3EC",
"type": "color"
},
"300": {
"value": "#9599DA",
"type": "color"
},
"400": {
"value": "#6C72C6",
"type": "color"
},
"500": {
"value": "#4B51AA",
"type": "color"
},
"600": {
"value": "#3F4483",
"type": "color"
},
"700": {
"value": "#32355D",
"type": "color"
},
"800": {
"value": "#23253D",
"type": "color"
},
"900": {
"value": "#171826",
"type": "color"
}
}
}
}