#3E38B5 is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, bold and ownable. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #3E38B5 works with other colors. Named schemes with #3E38B5 in its natural role, and a note on why the supporting colors balance it.
Cobalt 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 Cobalt Blue.
Cobalt Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Cobalt 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 Cobalt Blue carrying the quiet middle.
Cobalt Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Cobalt Blue glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #3E38B5 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 #3E38B5 at work across the surfaces designers actually ship.
:root {
--color-base: #3E38B5;
--color-base-rgb: 62 56 181;
--color-base-oklch: oklch(43.3% 0.190 277.1);
--color-50: #F3F3FC;
--color-100: #E0DFF6;
--color-200: #C3C1EC;
--color-300: #9995DA;
--color-400: #726DC5;
--color-500: #504CA9;
--color-600: #434082;
--color-700: #34325D;
--color-800: #25243D;
--color-900: #181726;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
cobalt-blue: {
50: '#F3F3FC',
100: '#E0DFF6',
200: '#C3C1EC',
300: '#9995DA',
400: '#726DC5',
500: '#504CA9',
600: '#434082',
700: '#34325D',
800: '#25243D',
900: '#181726',
},
}
$base: #3E38B5; $base-ink: #FFFFFF; $base-50: #F3F3FC; $base-100: #E0DFF6; $base-200: #C3C1EC; $base-300: #9995DA; $base-400: #726DC5; $base-500: #504CA9; $base-600: #434082; $base-700: #34325D; $base-800: #25243D; $base-900: #181726; $base-hover: #312C90; $base-subtle: #C7C5E6;
{
"color": {
"base": {
"value": "#3E38B5",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F3FC",
"type": "color"
},
"100": {
"value": "#E0DFF6",
"type": "color"
},
"200": {
"value": "#C3C1EC",
"type": "color"
},
"300": {
"value": "#9995DA",
"type": "color"
},
"400": {
"value": "#726DC5",
"type": "color"
},
"500": {
"value": "#504CA9",
"type": "color"
},
"600": {
"value": "#434082",
"type": "color"
},
"700": {
"value": "#34325D",
"type": "color"
},
"800": {
"value": "#25243D",
"type": "color"
},
"900": {
"value": "#181726",
"type": "color"
}
}
}
}