#0C1838 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 reproduces cleanly in print.
Not just a swatch — here's how #0C1838 works with other colors. Named schemes with #0C1838 in its natural role, and a note on why the supporting colors balance it.
Navy opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Navy keeps this Nordic scheme quiet — cool greys and a soft white around it, a muted-blue support and a charcoal anchor.
Navy is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Navy.
Navy plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
Navy 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 Navy carrying the quiet middle.
How #0C1838 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 #0C1838 at work across the surfaces designers actually ship.
:root {
--color-base: #0C1838;
--color-base-rgb: 12 24 56;
--color-base-oklch: oklch(21.9% 0.065 265.8);
--color-50: #F2F5FD;
--color-100: #DDE4F9;
--color-200: #BCCAF1;
--color-300: #8EA4E2;
--color-400: #6380CF;
--color-500: #4160B4;
--color-600: #384E89;
--color-700: #2D3B62;
--color-800: #212940;
--color-900: #161A27;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
navy: {
50: '#F2F5FD',
100: '#DDE4F9',
200: '#BCCAF1',
300: '#8EA4E2',
400: '#6380CF',
500: '#4160B4',
600: '#384E89',
700: '#2D3B62',
800: '#212940',
900: '#161A27',
},
}
$base: #0C1838; $base-ink: #FFFFFF; $base-50: #F2F5FD; $base-100: #DDE4F9; $base-200: #BCCAF1; $base-300: #8EA4E2; $base-400: #6380CF; $base-500: #4160B4; $base-600: #384E89; $base-700: #2D3B62; $base-800: #212940; $base-900: #161A27; $base-hover: #09122C; $base-subtle: #9CADDD;
{
"color": {
"base": {
"value": "#0C1838",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F2F5FD",
"type": "color"
},
"100": {
"value": "#DDE4F9",
"type": "color"
},
"200": {
"value": "#BCCAF1",
"type": "color"
},
"300": {
"value": "#8EA4E2",
"type": "color"
},
"400": {
"value": "#6380CF",
"type": "color"
},
"500": {
"value": "#4160B4",
"type": "color"
},
"600": {
"value": "#384E89",
"type": "color"
},
"700": {
"value": "#2D3B62",
"type": "color"
},
"800": {
"value": "#212940",
"type": "color"
},
"900": {
"value": "#161A27",
"type": "color"
}
}
}
}