#20329D#20329D

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

Color values

HEX#20329D
RGBrgb(32, 50, 157)
HSLhsl(231, 66%, 37%)
HSVhsv(231, 80%, 62%)
CMYKcmyk(79.6%, 68.2%, 0%, 38.4%)
CIE-LABlab(26.80, 33.00, -59.80)
CIE-LCHlch(26.80, 68.30, 298.89°)
OKLaboklab(38.21% -0.0041 -0.1731)
OKLCHoklch(38.21% 0.173 268.7)
XYZxyz(7.8200, 5.0217, 32.4489)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20329D #9D8B20
analogous
#20719D #20329D #4D209D
triadic
#20329D #9D2032 #329D20
tetradic
#20329D #9D2071 #9D8B20 #209D4D
square
#20329D #9D2071 #9D8B20 #209D4D
split-complementary
#20329D #9D4D20 #719D20
monochromatic
#0B1237 #16226A #20329D #2A42D0 #5A6DDD

Accessibility & contrast

On white

10.48
#20329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#20329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20329D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20329D#FFFFFF#000000##FFFFFF
##20329D1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20329d;
/* rgb */ color: rgb(32, 50, 157);
/* oklch */ color: oklch(38.2% 0.173 268.7);
Tailwind
colors: {
  custom: {
    50: '#726abb',
    500: '#20329d',
    950: '#000000',
  },
}
SCSS
$custom: #20329d;
$custom-light: #726abb;
$custom-dark: #000000;
JSON
{
  "hex": "#20329d",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 231.36,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38213,
    "c": 0.1732,
    "h": 268.7
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#20329D
secondary
#C1B257
accent
#D13FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #20329D

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

Preview Lab → · Contrast checker → · Palette generator →

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