Nearest named color: Classic Blue
#334A8E
#334A8E
Nearest named
Classic Blue
Family
Blue
Lightness
42.8%
Chroma
0.116
Hue angle
267.3°
Temperature
Cool
Contrast on white
8.36:1 · AAA
Contrast on black
2.22:1 · Fail
Web-safe
#333399
CSS oklch()
43% 0.12 267

#334A8E is a mid-toned, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It carries a legible label as a UI accent and reproduces cleanly in print.

Palettes built on #334A8E

Not just a swatch — here's how #334A8E works with other colors. Named schemes with #334A8E in its natural role, and a note on why the supporting colors balance it.

Coastal Morning Lead · 5 colors

Classic Blue opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.

Tech Product Signal · 5 colors

Classic 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 Classic Blue.

Vintage Leather Lead · 5 colors

Classic 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.

Berry & Cream Lead · 5 colors

Classic Blue sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.

Minimal Editorial Surface · 5 colors

Classic 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 Classic Blue carrying the quiet middle.

Build a working theme in the generator →

Color Lab

How #334A8E 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.

Warmth 23/100
Cool
Reads cool and recessive — calming, technical, good for trust-led UI.
Softness 36/100
Low
Middle-weight — neither delicate nor heavy.
Depth 58/100
Moderate
Mid depth — usable as an accent or a muted ground.
Naturalness 0/100
Very low
Reads engineered rather than organic — synthetic, digital.
Vintage feel 45/100
Moderate
A faint retro warmth without tipping into sepia.
Luxury 64/100
High
Restrained and premium — deep, quiet, high-end packaging and fashion.
Brand distinctiveness 31/100
Low
Recognisable but shares space with nearby hues.
UI accent fit 81/100
Very high
Strong interactive accent — visible and can carry a legible label.
Surface fit 22/100
Low
Too saturated or mid-toned for big areas — keep it to accents.
Print safety 80/100
High
Reproduces faithfully in CMYK — safe for packaging and print.

Pairs with #334A8E

For UI
For branding
For interior
For fashion

UI roles & guardrails

Primary action Safe as a filled button with white label. AAA
Body text Passes on white at 16px and above. Pass
Large display Fine for headings 24px+ on white. Pass
Background Pair with white text at 8.4:1. Use
Subtle surface Use #D5DAEA for cards and hover fills. Tint 80
Avoid beside #3B338E — the hue gap is too small to read as intentional. Clash

In real applications

Not a swatch to memorise — a color to build with. Here is #334A8E at work across the surfaces designers actually ship.

Website / UI
Northwind Sign up
Build faster.
A working theme, generated in seconds.
Dashboard
Revenue
$48.2k ▲ 12%
Brand
AVELINE
Studio
Poster
Nov 14 · 8PM
NIGHT
MARKET
Packaging
BLOOM
Botanical Wash
250 ml
Interior

Scales

ShadesBase darkened in 10% steps
TintsBase lifted toward white
TonesSaturation removed, lightness held
Monochromatic scaleDesign-system ready, 50–900

Every model

Export

:root {
  --color-base: #334A8E;
  --color-base-rgb: 51 74 142;
  --color-base-oklch: oklch(42.8% 0.116 267.3);
  --color-50: #F3F5FB;
  --color-100: #E0E6F5;
  --color-200: #C3CDE9;
  --color-300: #99A8D6;
  --color-400: #7286C0;
  --color-500: #5166A4;
  --color-600: #44527E;
  --color-700: #343E5A;
  --color-800: #252B3C;
  --color-900: #181B25;
  --color-on-base: #FFFFFF;
}