#20328C#20328C

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

Color values

HEX#20328C
RGBrgb(32, 50, 140)
HSLhsl(230, 63%, 34%)
HSVhsv(230, 77%, 55%)
CMYKcmyk(77.1%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.20, 26.54, -51.97)
CIE-LCHlch(25.20, 58.35, 297.06°)
OKLaboklab(36.56% -0.0032 -0.1502)
OKLCHoklch(36.56% 0.15 268.8)
XYZxyz(6.4683, 4.4810, 25.3299)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20328C #8C7A20
analogous
#20688C #20328C #44208C
triadic
#20328C #8C2032 #328C20
tetradic
#20328C #8C2068 #8C7A20 #208C44
square
#20328C #8C2068 #8C7A20 #208C44
split-complementary
#20328C #8C4420 #688C20
monochromatic
#090E28 #15205A #20328C #2B44BE #5066D7

Accessibility & contrast

On white

11.07
#20328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20328C
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20328C#FFFFFF#000000##FFFFFF
##20328C1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20328c;
/* rgb */ color: rgb(32, 50, 140);
/* oklch */ color: oklch(36.6% 0.150 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d69ae',
    500: '#20328c',
    950: '#000000',
  },
}
SCSS
$custom: #20328c;
$custom-light: #6d69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20328c",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 230,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36555,
    "c": 0.15025,
    "h": 268.8
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#20328C
secondary
#BAA84E
accent
#CB42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20328C

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

Preview Lab → · Contrast checker → · Palette generator →

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