#20329C#20329C

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

Color values

HEX#20329C
RGBrgb(32, 50, 156)
HSLhsl(231, 66%, 37%)
HSVhsv(231, 79%, 61%)
CMYKcmyk(79.5%, 67.9%, 0%, 38.8%)
CIE-LABlab(26.70, 32.62, -59.35)
CIE-LCHlch(26.70, 67.73, 298.80°)
OKLaboklab(38.11% -0.004 -0.1718)
OKLCHoklch(38.11% 0.172 268.7)
XYZxyz(7.7349, 4.9877, 32.0011)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20329C #9C8A20
analogous
#20709C #20329C #4C209C
triadic
#20329C #9C2032 #329C20
tetradic
#20329C #9C2070 #9C8A20 #209C4C
square
#20329C #9C2070 #9C8A20 #209C4C
split-complementary
#20329C #9C4C20 #709C20
monochromatic
#0B1136 #162269 #20329C #2A42CF #596CDD

Accessibility & contrast

On white

10.51
#20329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20329C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20329C#FFFFFF#000000##FFFFFF
##20329C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20329c;
/* rgb */ color: rgb(32, 50, 156);
/* oklch */ color: oklch(38.1% 0.172 268.7);
Tailwind
colors: {
  custom: {
    50: '#716aba',
    500: '#20329c',
    950: '#000000',
  },
}
SCSS
$custom: #20329c;
$custom-light: #716aba;
$custom-dark: #000000;
JSON
{
  "hex": "#20329c",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 231.29,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38113,
    "c": 0.17188,
    "h": 268.7
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20329C

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

Preview Lab → · Contrast checker → · Palette generator →

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