#31389B is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #31389B works with other colors. Named schemes with #31389B in its natural role, and a note on why the supporting colors balance it.
Egyptian Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Egyptian 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 Egyptian Blue.
Egyptian 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.
Egyptian Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Egyptian 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 Egyptian Blue carrying the quiet middle.
How #31389B 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 #31389B at work across the surfaces designers actually ship.
:root {
--color-base: #31389B;
--color-base-rgb: 49 56 155;
--color-base-oklch: oklch(40.0% 0.159 273.6);
--color-50: #F3F4FC;
--color-100: #DFE1F6;
--color-200: #C1C4EB;
--color-300: #969BD9;
--color-400: #6E74C4;
--color-500: #4D53A8;
--color-600: #414581;
--color-700: #32355C;
--color-800: #24263D;
--color-900: #181926;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
egyptian-blue: {
50: '#F3F4FC',
100: '#DFE1F6',
200: '#C1C4EB',
300: '#969BD9',
400: '#6E74C4',
500: '#4D53A8',
600: '#414581',
700: '#32355C',
800: '#24263D',
900: '#181926',
},
}
$base: #31389B; $base-ink: #FFFFFF; $base-50: #F3F4FC; $base-100: #DFE1F6; $base-200: #C1C4EB; $base-300: #969BD9; $base-400: #6E74C4; $base-500: #4D53A8; $base-600: #414581; $base-700: #32355C; $base-800: #24263D; $base-900: #181926; $base-hover: #272D7C; $base-subtle: #BFC1E3;
{
"color": {
"base": {
"value": "#31389B",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F4FC",
"type": "color"
},
"100": {
"value": "#DFE1F6",
"type": "color"
},
"200": {
"value": "#C1C4EB",
"type": "color"
},
"300": {
"value": "#969BD9",
"type": "color"
},
"400": {
"value": "#6E74C4",
"type": "color"
},
"500": {
"value": "#4D53A8",
"type": "color"
},
"600": {
"value": "#414581",
"type": "color"
},
"700": {
"value": "#32355C",
"type": "color"
},
"800": {
"value": "#24263D",
"type": "color"
},
"900": {
"value": "#181926",
"type": "color"
}
}
}
}