#170C63 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 #170C63 works with other colors. Named schemes with #170C63 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 #170C63 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 #170C63 at work across the surfaces designers actually ship.
:root {
--color-base: #170C63;
--color-base-rgb: 23 12 99;
--color-base-oklch: oklch(25.3% 0.140 275.4);
--color-50: #F3F1FE;
--color-100: #DEDAFB;
--color-200: #BFB6F6;
--color-300: #9385EA;
--color-400: #6A58DA;
--color-500: #4836BF;
--color-600: #3D3091;
--color-700: #302867;
--color-800: #231E43;
--color-900: #171429;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F3F1FE',
100: '#DEDAFB',
200: '#BFB6F6',
300: '#9385EA',
400: '#6A58DA',
500: '#4836BF',
600: '#3D3091',
700: '#302867',
800: '#231E43',
900: '#171429',
},
}
$base: #170C63; $base-ink: #FFFFFF; $base-50: #F3F1FE; $base-100: #DEDAFB; $base-200: #BFB6F6; $base-300: #9385EA; $base-400: #6A58DA; $base-500: #4836BF; $base-600: #3D3091; $base-700: #302867; $base-800: #231E43; $base-900: #171429; $base-hover: #130A50; $base-subtle: #A9A0E7;
{
"color": {
"base": {
"value": "#170C63",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F1FE",
"type": "color"
},
"100": {
"value": "#DEDAFB",
"type": "color"
},
"200": {
"value": "#BFB6F6",
"type": "color"
},
"300": {
"value": "#9385EA",
"type": "color"
},
"400": {
"value": "#6A58DA",
"type": "color"
},
"500": {
"value": "#4836BF",
"type": "color"
},
"600": {
"value": "#3D3091",
"type": "color"
},
"700": {
"value": "#302867",
"type": "color"
},
"800": {
"value": "#231E43",
"type": "color"
},
"900": {
"value": "#171429",
"type": "color"
}
}
}
}