#0C0CCD is a deep, cool violet. On the Color Lab it reads clean and engineered, bold and ownable. It sits well as a supporting tone.
Not just a swatch — here's how #0C0CCD works with other colors. Named schemes with #0C0CCD in its natural role, and a note on why the supporting colors balance it.
Medium 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 Medium Blue.
Medium Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Medium Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Medium 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 Medium Blue carrying the quiet middle.
Medium Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #0C0CCD 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 #0C0CCD at work across the surfaces designers actually ship.
:root {
--color-base: #0C0CCD;
--color-base-rgb: 12 12 205;
--color-base-oklch: oklch(39.1% 0.260 265.4);
--color-50: #F0F0FE;
--color-100: #D8D8FD;
--color-200: #B2B2FA;
--color-300: #7E7EF1;
--color-400: #4F4FE3;
--color-500: #2C2CC9;
--color-600: #2A2A98;
--color-700: #23236B;
--color-800: #1B1B46;
--color-900: #13132B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
medium-blue: {
50: '#F0F0FE',
100: '#D8D8FD',
200: '#B2B2FA',
300: '#7E7EF1',
400: '#4F4FE3',
500: '#2C2CC9',
600: '#2A2A98',
700: '#23236B',
800: '#1B1B46',
900: '#13132B',
},
}
$base: #0C0CCD; $base-ink: #FFFFFF; $base-50: #F0F0FE; $base-100: #D8D8FD; $base-200: #B2B2FA; $base-300: #7E7EF1; $base-400: #4F4FE3; $base-500: #2C2CC9; $base-600: #2A2A98; $base-700: #23236B; $base-800: #1B1B46; $base-900: #13132B; $base-hover: #0A0AA6; $base-subtle: #B6B6F1;
{
"color": {
"base": {
"value": "#0C0CCD",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F0FE",
"type": "color"
},
"100": {
"value": "#D8D8FD",
"type": "color"
},
"200": {
"value": "#B2B2FA",
"type": "color"
},
"300": {
"value": "#7E7EF1",
"type": "color"
},
"400": {
"value": "#4F4FE3",
"type": "color"
},
"500": {
"value": "#2C2CC9",
"type": "color"
},
"600": {
"value": "#2A2A98",
"type": "color"
},
"700": {
"value": "#23236B",
"type": "color"
},
"800": {
"value": "#1B1B46",
"type": "color"
},
"900": {
"value": "#13132B",
"type": "color"
}
}
}
}