#1B40BB 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 #1B40BB works with other colors. Named schemes with #1B40BB in its natural role, and a note on why the supporting colors balance it.
Cobalt 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 Cobalt Blue.
Cobalt Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Cobalt Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Cobalt 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 Cobalt Blue carrying the quiet middle.
Cobalt Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #1B40BB 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 #1B40BB at work across the surfaces designers actually ship.
:root {
--color-base: #1B40BB;
--color-base-rgb: 27 64 187;
--color-base-oklch: oklch(43.5% 0.197 265.3);
--color-50: #F1F4FE;
--color-100: #DAE2FB;
--color-200: #B8C6F5;
--color-300: #879EE8;
--color-400: #5B78D7;
--color-500: #3857BC;
--color-600: #324890;
--color-700: #293766;
--color-800: #1E2742;
--color-900: #141929;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cobalt-blue: {
50: '#F1F4FE',
100: '#DAE2FB',
200: '#B8C6F5',
300: '#879EE8',
400: '#5B78D7',
500: '#3857BC',
600: '#324890',
700: '#293766',
800: '#1E2742',
900: '#141929',
},
}
$base: #1B40BB; $base-ink: #FFFFFF; $base-50: #F1F4FE; $base-100: #DAE2FB; $base-200: #B8C6F5; $base-300: #879EE8; $base-400: #5B78D7; $base-500: #3857BC; $base-600: #324890; $base-700: #293766; $base-800: #1E2742; $base-900: #141929; $base-hover: #153396; $base-subtle: #B9C5EC;
{
"color": {
"base": {
"value": "#1B40BB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F4FE",
"type": "color"
},
"100": {
"value": "#DAE2FB",
"type": "color"
},
"200": {
"value": "#B8C6F5",
"type": "color"
},
"300": {
"value": "#879EE8",
"type": "color"
},
"400": {
"value": "#5B78D7",
"type": "color"
},
"500": {
"value": "#3857BC",
"type": "color"
},
"600": {
"value": "#324890",
"type": "color"
},
"700": {
"value": "#293766",
"type": "color"
},
"800": {
"value": "#1E2742",
"type": "color"
},
"900": {
"value": "#141929",
"type": "color"
}
}
}
}