Nearest named color: Klein Blue
#172A87
#172A87
Nearest named
Klein Blue
Family
Blue
Lightness
34.1%
Chroma
0.156
Hue angle
267.6°
Temperature
Cool
Contrast on white
12.23:1 · AAA
Contrast on black
1.52:1 · Fail
Web-safe
#003399
CSS oklch()
34% 0.16 268

#172A87 is a deep, cool violet. On the Color Lab it reads clean and engineered, quietly premium. It sits well as a supporting tone.

Palettes built on #172A87

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

Luxury Packaging Feature · 5 colors

Klein Blue carries the depth in this luxury scheme, offset by a brass accent and near-black and held together by a deep neutral and an off-white surface.

Moody Editorial Color · 5 colors

Klein Blue adds the colour to this moody editorial scheme — charcoal and a mid-grey around it, a bone highlight, and a muted jewel accent drawn from Klein Blue.

Coastal Morning Lead · 5 colors

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

Vintage Leather Lead · 5 colors

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

Minimal Editorial Surface · 5 colors

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

Build a working theme in the generator →

Color Lab

How #172A87 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 13/100
Cool
Reads cool and recessive — calming, technical, good for trust-led UI.
Softness 26/100
Low
Firm and assertive — carries weight and contrast.
Depth 68/100
High
Deep and grounding — anchors a layout, strong dark-mode base.
Naturalness 0/100
Very low
Reads engineered rather than organic — synthetic, digital.
Vintage feel 28/100
Low
A faint retro warmth without tipping into sepia.
Luxury 68/100
High
Restrained and premium — deep, quiet, high-end packaging and fashion.
Brand distinctiveness 60/100
High
Bold and ownable — memorable as a primary brand color.
UI accent fit 54/100
Moderate
Workable accent with care around contrast.
Surface fit 18/100
Very low
Too saturated or mid-toned for big areas — keep it to accents.
Print safety 73/100
High
Reproduces faithfully in CMYK — safe for packaging and print.

Pairs with #172A87

For UI
For branding
For interior
For fashion
People also use #172A87 with

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 12.2:1. Use
Subtle surface Use #CAD0EE for cards and hover fills. Tint 80
Avoid beside #2A1787 — 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 #172A87 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: #172A87;
  --color-base-rgb: 23 42 135;
  --color-base-oklch: oklch(34.1% 0.156 267.6);
  --color-50: #F1F3FD;
  --color-100: #DBE0FA;
  --color-200: #B9C3F3;
  --color-300: #8A99E5;
  --color-400: #5E72D4;
  --color-500: #3C51B9;
  --color-600: #35438D;
  --color-700: #2B3464;
  --color-800: #1F2542;
  --color-900: #151828;
  --color-on-base: #FFFFFF;
}