#0C226B is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It sits well as a supporting tone.
Not just a swatch — here's how #0C226B works with other colors. Named schemes with #0C226B 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 #0C226B 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 #0C226B at work across the surfaces designers actually ship.
:root {
--color-base: #0C226B;
--color-base-rgb: 12 34 107;
--color-base-oklch: oklch(29.2% 0.130 265.5);
--color-50: #F1F4FE;
--color-100: #D9E1FC;
--color-200: #B6C5F7;
--color-300: #849CEB;
--color-400: #5776DB;
--color-500: #3455C1;
--color-600: #2F4693;
--color-700: #273668;
--color-800: #1D2644;
--color-900: #141929;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F1F4FE',
100: '#D9E1FC',
200: '#B6C5F7',
300: '#849CEB',
400: '#5776DB',
500: '#3455C1',
600: '#2F4693',
700: '#273668',
800: '#1D2644',
900: '#141929',
},
}
$base: #0C226B; $base-ink: #FFFFFF; $base-50: #F1F4FE; $base-100: #D9E1FC; $base-200: #B6C5F7; $base-300: #849CEB; $base-400: #5776DB; $base-500: #3455C1; $base-600: #2F4693; $base-700: #273668; $base-800: #1D2644; $base-900: #141929; $base-hover: #091B54; $base-subtle: #A0B1E8;
{
"color": {
"base": {
"value": "#0C226B",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F4FE",
"type": "color"
},
"100": {
"value": "#D9E1FC",
"type": "color"
},
"200": {
"value": "#B6C5F7",
"type": "color"
},
"300": {
"value": "#849CEB",
"type": "color"
},
"400": {
"value": "#5776DB",
"type": "color"
},
"500": {
"value": "#3455C1",
"type": "color"
},
"600": {
"value": "#2F4693",
"type": "color"
},
"700": {
"value": "#273668",
"type": "color"
},
"800": {
"value": "#1D2644",
"type": "color"
},
"900": {
"value": "#141929",
"type": "color"
}
}
}
}