#0841AB is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #0841AB works with other colors. Named schemes with #0841AB in its natural role, and a note on why the supporting colors balance it.
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 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 plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
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.
How #0841AB 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 #0841AB at work across the surfaces designers actually ship.
:root {
--color-base: #0841AB;
--color-base-rgb: 8 65 171;
--color-base-oklch: oklch(41.7% 0.178 261.8);
--color-50: #F0F5FE;
--color-100: #D8E5FD;
--color-200: #B1CBFB;
--color-300: #7DA6F2;
--color-400: #4E82E4;
--color-500: #2A62CB;
--color-600: #28509A;
--color-700: #233C6C;
--color-800: #1B2A46;
--color-900: #121B2B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cobalt-blue: {
50: '#F0F5FE',
100: '#D8E5FD',
200: '#B1CBFB',
300: '#7DA6F2',
400: '#4E82E4',
500: '#2A62CB',
600: '#28509A',
700: '#233C6C',
800: '#1B2A46',
900: '#121B2B',
},
}
$base: #0841AB; $base-ink: #FFFFFF; $base-50: #F0F5FE; $base-100: #D8E5FD; $base-200: #B1CBFB; $base-300: #7DA6F2; $base-400: #4E82E4; $base-500: #2A62CB; $base-600: #28509A; $base-700: #233C6C; $base-800: #1B2A46; $base-900: #121B2B; $base-hover: #063488; $base-subtle: #ABC3F0;
{
"color": {
"base": {
"value": "#0841AB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F5FE",
"type": "color"
},
"100": {
"value": "#D8E5FD",
"type": "color"
},
"200": {
"value": "#B1CBFB",
"type": "color"
},
"300": {
"value": "#7DA6F2",
"type": "color"
},
"400": {
"value": "#4E82E4",
"type": "color"
},
"500": {
"value": "#2A62CB",
"type": "color"
},
"600": {
"value": "#28509A",
"type": "color"
},
"700": {
"value": "#233C6C",
"type": "color"
},
"800": {
"value": "#1B2A46",
"type": "color"
},
"900": {
"value": "#121B2B",
"type": "color"
}
}
}
}