#4240D6 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 #4240D6 works with other colors. Named schemes with #4240D6 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 #4240D6 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 #4240D6 at work across the surfaces designers actually ship.
:root {
--color-base: #4240D6;
--color-base-rgb: 66 64 214;
--color-base-oklch: oklch(47.9% 0.221 274.7);
--color-50: #F2F2FD;
--color-100: #DDDDF9;
--color-200: #BDBCF1;
--color-300: #8F8EE2;
--color-400: #6563CF;
--color-500: #4341B4;
--color-600: #3A3889;
--color-700: #2E2D62;
--color-800: #212140;
--color-900: #161627;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cerulean: {
50: '#F2F2FD',
100: '#DDDDF9',
200: '#BDBCF1',
300: '#8F8EE2',
400: '#6563CF',
500: '#4341B4',
600: '#3A3889',
700: '#2E2D62',
800: '#212140',
900: '#161627',
},
}
$base: #4240D6; $base-ink: #FFFFFF; $base-50: #F2F2FD; $base-100: #DDDDF9; $base-200: #BDBCF1; $base-300: #8F8EE2; $base-400: #6563CF; $base-500: #4341B4; $base-600: #3A3889; $base-700: #2E2D62; $base-800: #212140; $base-900: #161627; $base-hover: #2A27B9; $base-subtle: #CCCCEE;
{
"color": {
"base": {
"value": "#4240D6",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F2F2FD",
"type": "color"
},
"100": {
"value": "#DDDDF9",
"type": "color"
},
"200": {
"value": "#BDBCF1",
"type": "color"
},
"300": {
"value": "#8F8EE2",
"type": "color"
},
"400": {
"value": "#6563CF",
"type": "color"
},
"500": {
"value": "#4341B4",
"type": "color"
},
"600": {
"value": "#3A3889",
"type": "color"
},
"700": {
"value": "#2E2D62",
"type": "color"
},
"800": {
"value": "#212140",
"type": "color"
},
"900": {
"value": "#161627",
"type": "color"
}
}
}
}