#08126B is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It is too dark to lead as a primary accent and sits well as a supporting tone.
Not just a swatch — here's how #08126B works with other colors. Named schemes with #08126B in its natural role, and a note on why the supporting colors balance it.
Midnight Blue carries the depth in this luxury scheme, offset by a brass accent and near-black and held together by a deep neutral and an off-white surface.
Midnight Blue adds the colour to this moody editorial scheme — charcoal and a mid-grey around it, a bone highlight, and a muted jewel accent drawn from Midnight Blue.
Midnight Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Midnight 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.
Midnight 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 Midnight Blue carrying the quiet middle.
How #08126B 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 #08126B at work across the surfaces designers actually ship.
:root {
--color-base: #08126B;
--color-base-rgb: 8 18 107;
--color-base-oklch: oklch(26.3% 0.149 266.9);
--color-50: #F0F2FE;
--color-100: #D8DCFD;
--color-200: #B3BAF9;
--color-300: #808BEF;
--color-400: #5260E0;
--color-500: #2F3EC6;
--color-600: #2B3696;
--color-700: #252C6A;
--color-800: #1C2045;
--color-900: #13152A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F0F2FE',
100: '#D8DCFD',
200: '#B3BAF9',
300: '#808BEF',
400: '#5260E0',
500: '#2F3EC6',
600: '#2B3696',
700: '#252C6A',
800: '#1C2045',
900: '#13152A',
},
}
$base: #08126B; $base-ink: #FFFFFF; $base-50: #F0F2FE; $base-100: #D8DCFD; $base-200: #B3BAF9; $base-300: #808BEF; $base-400: #5260E0; $base-500: #2F3EC6; $base-600: #2B3696; $base-700: #252C6A; $base-800: #1C2045; $base-900: #13152A; $base-hover: #070F57; $base-subtle: #9EA5EB;
{
"color": {
"base": {
"value": "#08126B",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F2FE",
"type": "color"
},
"100": {
"value": "#D8DCFD",
"type": "color"
},
"200": {
"value": "#B3BAF9",
"type": "color"
},
"300": {
"value": "#808BEF",
"type": "color"
},
"400": {
"value": "#5260E0",
"type": "color"
},
"500": {
"value": "#2F3EC6",
"type": "color"
},
"600": {
"value": "#2B3696",
"type": "color"
},
"700": {
"value": "#252C6A",
"type": "color"
},
"800": {
"value": "#1C2045",
"type": "color"
},
"900": {
"value": "#13152A",
"type": "color"
}
}
}
}