#20328B#20328B

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

Color values

HEX#20328B
RGBrgb(32, 50, 139)
HSLhsl(230, 63%, 34%)
HSVhsv(230, 77%, 55%)
CMYKcmyk(77%, 64%, 0%, 45.5%)
CIE-LABlab(25.11, 26.16, -51.49)
CIE-LCHlch(25.11, 57.76, 296.93°)
OKLaboklab(36.46% -0.0031 -0.1488)
OKLCHoklch(36.46% 0.149 268.8)
XYZxyz(6.3949, 4.4517, 24.9433)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20328B #8B7920
analogous
#20678B #20328B #44208B
triadic
#20328B #8B2032 #328B20
tetradic
#20328B #8B2067 #8B7920 #208B44
square
#20328B #8B2067 #8B7920 #208B44
split-complementary
#20328B #8B4420 #678B20
monochromatic
#090E28 #152059 #20328B #2B44BD #4F66D6

Accessibility & contrast

On white

11.11
#20328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#20328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20328B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20328B#FFFFFF#000000##FFFFFF
##20328B1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20328b;
/* rgb */ color: rgb(32, 50, 139);
/* oklch */ color: oklch(36.5% 0.149 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d69ae',
    500: '#20328b',
    950: '#000000',
  },
}
SCSS
$custom: #20328b;
$custom-light: #6d69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20328b",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 229.907,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36461,
    "c": 0.14887,
    "h": 268.8
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#20328B
secondary
#BAA74D
accent
#CA42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20328B

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

Preview Lab → · Contrast checker → · Palette generator →

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