#172FA4 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 #172FA4 works with other colors. Named schemes with #172FA4 in its natural role, and a note on why the supporting colors balance it.
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 opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
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.
Egyptian Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #172FA4 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 #172FA4 at work across the surfaces designers actually ship.
:root {
--color-base: #172FA4;
--color-base-rgb: 23 47 164;
--color-base-oklch: oklch(38.1% 0.188 266.7);
--color-50: #F1F3FE;
--color-100: #DAE0FB;
--color-200: #B8C2F5;
--color-300: #8797E8;
--color-400: #5B70D7;
--color-500: #384EBC;
--color-600: #324290;
--color-700: #293366;
--color-800: #1E2442;
--color-900: #141829;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
egyptian-blue: {
50: '#F1F3FE',
100: '#DAE0FB',
200: '#B8C2F5',
300: '#8797E8',
400: '#5B70D7',
500: '#384EBC',
600: '#324290',
700: '#293366',
800: '#1E2442',
900: '#141829',
},
}
$base: #172FA4; $base-ink: #FFFFFF; $base-50: #F1F3FE; $base-100: #DAE0FB; $base-200: #B8C2F5; $base-300: #8797E8; $base-400: #5B70D7; $base-500: #384EBC; $base-600: #324290; $base-700: #293366; $base-800: #1E2442; $base-900: #141829; $base-hover: #132684; $base-subtle: #B3BCEA;
{
"color": {
"base": {
"value": "#172FA4",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F3FE",
"type": "color"
},
"100": {
"value": "#DAE0FB",
"type": "color"
},
"200": {
"value": "#B8C2F5",
"type": "color"
},
"300": {
"value": "#8797E8",
"type": "color"
},
"400": {
"value": "#5B70D7",
"type": "color"
},
"500": {
"value": "#384EBC",
"type": "color"
},
"600": {
"value": "#324290",
"type": "color"
},
"700": {
"value": "#293366",
"type": "color"
},
"800": {
"value": "#1E2442",
"type": "color"
},
"900": {
"value": "#141829",
"type": "color"
}
}
}
}