#0B40BB 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 #0B40BB works with other colors. Named schemes with #0B40BB 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 #0B40BB 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 #0B40BB at work across the surfaces designers actually ship.
:root {
--color-base: #0B40BB;
--color-base-rgb: 11 64 187;
--color-base-oklch: oklch(43.1% 0.200 263.1);
--color-50: #F0F5FE;
--color-100: #D8E3FD;
--color-200: #B2C8FA;
--color-300: #7EA1F1;
--color-400: #4F7CE3;
--color-500: #2C5BC9;
--color-600: #2A4B98;
--color-700: #23396B;
--color-800: #1B2846;
--color-900: #131A2B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cobalt-blue: {
50: '#F0F5FE',
100: '#D8E3FD',
200: '#B2C8FA',
300: '#7EA1F1',
400: '#4F7CE3',
500: '#2C5BC9',
600: '#2A4B98',
700: '#23396B',
800: '#1B2846',
900: '#131A2B',
},
}
$base: #0B40BB; $base-ink: #FFFFFF; $base-50: #F0F5FE; $base-100: #D8E3FD; $base-200: #B2C8FA; $base-300: #7EA1F1; $base-400: #4F7CE3; $base-500: #2C5BC9; $base-600: #2A4B98; $base-700: #23396B; $base-800: #1B2846; $base-900: #131A2B; $base-hover: #093396; $base-subtle: #B1C4F0;
{
"color": {
"base": {
"value": "#0B40BB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F5FE",
"type": "color"
},
"100": {
"value": "#D8E3FD",
"type": "color"
},
"200": {
"value": "#B2C8FA",
"type": "color"
},
"300": {
"value": "#7EA1F1",
"type": "color"
},
"400": {
"value": "#4F7CE3",
"type": "color"
},
"500": {
"value": "#2C5BC9",
"type": "color"
},
"600": {
"value": "#2A4B98",
"type": "color"
},
"700": {
"value": "#23396B",
"type": "color"
},
"800": {
"value": "#1B2846",
"type": "color"
},
"900": {
"value": "#131A2B",
"type": "color"
}
}
}
}