#05166B 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 #05166B works with other colors. Named schemes with #05166B 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 #05166B 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 #05166B at work across the surfaces designers actually ship.
:root {
--color-base: #05166B;
--color-base-rgb: 5 22 107;
--color-base-oklch: oklch(26.8% 0.146 265.5);
--color-50: #F0F3FE;
--color-100: #D8DEFD;
--color-200: #B1BEFB;
--color-300: #7D90F2;
--color-400: #4E67E4;
--color-500: #2A45CB;
--color-600: #283B9A;
--color-700: #232F6C;
--color-800: #1B2246;
--color-900: #12162B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
midnight-blue: {
50: '#F0F3FE',
100: '#D8DEFD',
200: '#B1BEFB',
300: '#7D90F2',
400: '#4E67E4',
500: '#2A45CB',
600: '#283B9A',
700: '#232F6C',
800: '#1B2246',
900: '#12162B',
},
}
$base: #05166B; $base-ink: #FFFFFF; $base-50: #F0F3FE; $base-100: #D8DEFD; $base-200: #B1BEFB; $base-300: #7D90F2; $base-400: #4E67E4; $base-500: #2A45CB; $base-600: #283B9A; $base-700: #232F6C; $base-800: #1B2246; $base-900: #12162B; $base-hover: #041256; $base-subtle: #9AA8ED;
{
"color": {
"base": {
"value": "#05166B",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F0F3FE",
"type": "color"
},
"100": {
"value": "#D8DEFD",
"type": "color"
},
"200": {
"value": "#B1BEFB",
"type": "color"
},
"300": {
"value": "#7D90F2",
"type": "color"
},
"400": {
"value": "#4E67E4",
"type": "color"
},
"500": {
"value": "#2A45CB",
"type": "color"
},
"600": {
"value": "#283B9A",
"type": "color"
},
"700": {
"value": "#232F6C",
"type": "color"
},
"800": {
"value": "#1B2246",
"type": "color"
},
"900": {
"value": "#12162B",
"type": "color"
}
}
}
}