#2228DB 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 #2228DB works with other colors. Named schemes with #2228DB 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 #2228DB 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 #2228DB at work across the surfaces designers actually ship.
:root {
--color-base: #2228DB;
--color-base-rgb: 34 40 219;
--color-base-oklch: oklch(43.7% 0.256 268.2);
--color-50: #F1F2FD;
--color-100: #DBDCFA;
--color-200: #B9BBF4;
--color-300: #888CE7;
--color-400: #5D61D5;
--color-500: #3A3EBB;
--color-600: #33368E;
--color-700: #2A2C65;
--color-800: #1F2042;
--color-900: #151528;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
medium-blue: {
50: '#F1F2FD',
100: '#DBDCFA',
200: '#B9BBF4',
300: '#888CE7',
400: '#5D61D5',
500: '#3A3EBB',
600: '#33368E',
700: '#2A2C65',
800: '#1F2042',
900: '#151528',
},
}
$base: #2228DB; $base-ink: #FFFFFF; $base-50: #F1F2FD; $base-100: #DBDCFA; $base-200: #B9BBF4; $base-300: #888CE7; $base-400: #5D61D5; $base-500: #3A3EBB; $base-600: #33368E; $base-700: #2A2C65; $base-800: #1F2042; $base-900: #151528; $base-hover: #1C21B0; $base-subtle: #C4C5EE;
{
"color": {
"base": {
"value": "#2228DB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F1F2FD",
"type": "color"
},
"100": {
"value": "#DBDCFA",
"type": "color"
},
"200": {
"value": "#B9BBF4",
"type": "color"
},
"300": {
"value": "#888CE7",
"type": "color"
},
"400": {
"value": "#5D61D5",
"type": "color"
},
"500": {
"value": "#3A3EBB",
"type": "color"
},
"600": {
"value": "#33368E",
"type": "color"
},
"700": {
"value": "#2A2C65",
"type": "color"
},
"800": {
"value": "#1F2042",
"type": "color"
},
"900": {
"value": "#151528",
"type": "color"
}
}
}
}