#20328D#20328D

#20328D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.152 H 268.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#20328D
RGBrgb(32, 50, 141)
HSLhsl(230, 63%, 34%)
HSVhsv(230, 77%, 55%)
CMYKcmyk(77.3%, 64.5%, 0%, 44.7%)
CIE-LABlab(25.29, 26.93, -52.44)
CIE-LCHlch(25.29, 58.95, 297.18°)
OKLaboklab(36.65% -0.0032 -0.1516)
OKLCHoklch(36.65% 0.152 268.8)
XYZxyz(6.5423, 4.5107, 25.7200)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20328D #8D7B20
analogous
#20698D #20328D #45208D
triadic
#20328D #8D2032 #328D20
tetradic
#20328D #8D2069 #8D7B20 #208D45
square
#20328D #8D2069 #8D7B20 #208D45
split-complementary
#20328D #8D4520 #698D20
monochromatic
#090F29 #15205B #20328D #2B44BF #5066D7

Accessibility & contrast

On white

11.04
#20328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#20328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20328D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20328D#FFFFFF#000000##FFFFFF
##20328D1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20328d;
/* rgb */ color: rgb(32, 50, 141);
/* oklch */ color: oklch(36.6% 0.152 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e69af',
    500: '#20328d',
    950: '#000000',
  },
}
SCSS
$custom: #20328d;
$custom-light: #6e69af;
$custom-dark: #000000;
JSON
{
  "hex": "#20328d",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 230.092,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3665,
    "c": 0.15164,
    "h": 268.8
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#20328D
secondary
#BAA94E
accent
#CB42E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20328D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#20328D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva