#0845A2 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 #0845A2 works with other colors. Named schemes with #0845A2 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 #0845A2 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 #0845A2 at work across the surfaces designers actually ship.
:root {
--color-base: #0845A2;
--color-base-rgb: 8 69 162;
--color-base-oklch: oklch(41.7% 0.161 260.0);
--color-50: #F0F6FE;
--color-100: #D8E7FD;
--color-200: #B1CFFB;
--color-300: #7DACF2;
--color-400: #4E8AE4;
--color-500: #2A6ACB;
--color-600: #28569A;
--color-700: #23406C;
--color-800: #1B2C46;
--color-900: #121C2B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cobalt-blue: {
50: '#F0F6FE',
100: '#D8E7FD',
200: '#B1CFFB',
300: '#7DACF2',
400: '#4E8AE4',
500: '#2A6ACB',
600: '#28569A',
700: '#23406C',
800: '#1B2C46',
900: '#121C2B',
},
}
$base: #0845A2; $base-ink: #FFFFFF; $base-50: #F0F6FE; $base-100: #D8E7FD; $base-200: #B1CFFB; $base-300: #7DACF2; $base-400: #4E8AE4; $base-500: #2A6ACB; $base-600: #28569A; $base-700: #23406C; $base-800: #1B2C46; $base-900: #121C2B; $base-hover: #063781; $base-subtle: #A8C5EF;
{
"color": {
"base": {
"value": "#0845A2",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F6FE",
"type": "color"
},
"100": {
"value": "#D8E7FD",
"type": "color"
},
"200": {
"value": "#B1CFFB",
"type": "color"
},
"300": {
"value": "#7DACF2",
"type": "color"
},
"400": {
"value": "#4E8AE4",
"type": "color"
},
"500": {
"value": "#2A6ACB",
"type": "color"
},
"600": {
"value": "#28569A",
"type": "color"
},
"700": {
"value": "#23406C",
"type": "color"
},
"800": {
"value": "#1B2C46",
"type": "color"
},
"900": {
"value": "#121C2B",
"type": "color"
}
}
}
}