#040BCB is a deep, cool violet. On the Color Lab it reads clean and engineered, bold and ownable. It sits well as a supporting tone.
Not just a swatch — here's how #040BCB works with other colors. Named schemes with #040BCB in its natural role, and a note on why the supporting colors balance it.
Medium 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 Medium Blue.
Medium Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Medium Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Medium 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 Medium Blue carrying the quiet middle.
Medium Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #040BCB 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 #040BCB at work across the surfaces designers actually ship.
:root {
--color-base: #040BCB;
--color-base-rgb: 4 11 203;
--color-base-oklch: oklch(38.6% 0.260 264.6);
--color-50: #F0F1FE;
--color-100: #D8D9FD;
--color-200: #B1B3FC;
--color-300: #7A7EF6;
--color-400: #4A4FE8;
--color-500: #262CCF;
--color-600: #25299D;
--color-700: #21236E;
--color-800: #191B48;
--color-900: #12122C;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
medium-blue: {
50: '#F0F1FE',
100: '#D8D9FD',
200: '#B1B3FC',
300: '#7A7EF6',
400: '#4A4FE8',
500: '#262CCF',
600: '#25299D',
700: '#21236E',
800: '#191B48',
900: '#12122C',
},
}
$base: #040BCB; $base-ink: #FFFFFF; $base-50: #F0F1FE; $base-100: #D8D9FD; $base-200: #B1B3FC; $base-300: #7A7EF6; $base-400: #4A4FE8; $base-500: #262CCF; $base-600: #25299D; $base-700: #21236E; $base-800: #191B48; $base-900: #12122C; $base-hover: #0309A4; $base-subtle: #B1B3F3;
{
"color": {
"base": {
"value": "#040BCB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F1FE",
"type": "color"
},
"100": {
"value": "#D8D9FD",
"type": "color"
},
"200": {
"value": "#B1B3FC",
"type": "color"
},
"300": {
"value": "#7A7EF6",
"type": "color"
},
"400": {
"value": "#4A4FE8",
"type": "color"
},
"500": {
"value": "#262CCF",
"type": "color"
},
"600": {
"value": "#25299D",
"type": "color"
},
"700": {
"value": "#21236E",
"type": "color"
},
"800": {
"value": "#191B48",
"type": "color"
},
"900": {
"value": "#12122C",
"type": "color"
}
}
}
}