#20328A#20328A

#20328A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.147 H 268.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#20328A
RGBrgb(32, 50, 138)
HSLhsl(230, 62%, 33%)
HSVhsv(230, 77%, 54%)
CMYKcmyk(76.8%, 63.8%, 0%, 45.9%)
CIE-LABlab(25.02, 25.77, -51.02)
CIE-LCHlch(25.02, 57.16, 296.80°)
OKLaboklab(36.37% -0.0031 -0.1474)
OKLCHoklch(36.37% 0.147 268.8)
XYZxyz(6.3221, 4.4226, 24.5603)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20328A #8A7820
analogous
#20678A #20328A #43208A
triadic
#20328A #8A2032 #328A20
tetradic
#20328A #8A2067 #8A7820 #208A43
square
#20328A #8A2067 #8A7820 #208A43
split-complementary
#20328A #8A4320 #678A20
monochromatic
#090E27 #142058 #20328A #2C44BC #4E65D6

Accessibility & contrast

On white

11.14
#20328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#20328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20328A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20328A#FFFFFF#000000##FFFFFF
##20328A1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20328a;
/* rgb */ color: rgb(32, 50, 138);
/* oklch */ color: oklch(36.4% 0.147 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d69ad',
    500: '#20328a',
    950: '#000000',
  },
}
SCSS
$custom: #20328a;
$custom-light: #6d69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20328a",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 229.811,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36367,
    "c": 0.14747,
    "h": 268.8
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#20328A
secondary
#B9A74D
accent
#CA42E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #20328A

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

Preview Lab → · Contrast checker → · Palette generator →

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