#20329B#20329B

#20329B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.171 H 268.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#20329B
RGBrgb(32, 50, 155)
HSLhsl(231, 66%, 37%)
HSVhsv(231, 79%, 61%)
CMYKcmyk(79.4%, 67.7%, 0%, 39.2%)
CIE-LABlab(26.60, 32.25, -58.90)
CIE-LCHlch(26.60, 67.15, 298.70°)
OKLaboklab(38.01% -0.0039 -0.1705)
OKLCHoklch(38.01% 0.171 268.7)
XYZxyz(7.6506, 4.9540, 31.5570)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20329B #9B8920
analogous
#206F9B #20329B #4C209B
triadic
#20329B #9B2032 #329B20
tetradic
#20329B #9B206F #9B8920 #209B4C
square
#20329B #9B206F #9B8920 #209B4C
split-complementary
#20329B #9B4C20 #6F9B20
monochromatic
#0B1136 #162268 #20329B #2A42CE #596CDD

Accessibility & contrast

On white

10.55
#20329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#20329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20329B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20329B#FFFFFF#000000##FFFFFF
##20329B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20329b;
/* rgb */ color: rgb(32, 50, 155);
/* oklch */ color: oklch(38.0% 0.171 268.7);
Tailwind
colors: {
  custom: {
    50: '#716aba',
    500: '#20329b',
    950: '#000000',
  },
}
SCSS
$custom: #20329b;
$custom-light: #716aba;
$custom-dark: #000000;
JSON
{
  "hex": "#20329b",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 231.22,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.17056,
    "h": 268.7
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#20329B
secondary
#C1B156
accent
#D03FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #20329B

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

Preview Lab → · Contrast checker → · Palette generator →

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