#20329E#20329E

#20329E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.175 H 268.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#20329E
RGBrgb(32, 50, 158)
HSLhsl(231, 66%, 37%)
HSVhsv(231, 80%, 62%)
CMYKcmyk(79.7%, 68.4%, 0%, 38%)
CIE-LABlab(26.89, 33.37, -60.25)
CIE-LCHlch(26.89, 68.88, 298.98°)
OKLaboklab(38.31% -0.0041 -0.1745)
OKLCHoklch(38.31% 0.175 268.6)
XYZxyz(7.9057, 5.0560, 32.9004)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20329E #9E8C20
analogous
#20719E #20329E #4D209E
triadic
#20329E #9E2032 #329E20
tetradic
#20329E #9E2071 #9E8C20 #209E4D
square
#20329E #9E2071 #9E8C20 #209E4D
split-complementary
#20329E #9E4D20 #719E20
monochromatic
#0B1238 #16226B #20329E #2A42D1 #5B6DDE

Accessibility & contrast

On white

10.44
#20329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#20329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20329E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20329E#FFFFFF#000000##FFFFFF
##20329E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #20329e;
/* rgb */ color: rgb(32, 50, 158);
/* oklch */ color: oklch(38.3% 0.175 268.6);
Tailwind
colors: {
  custom: {
    50: '#726abc',
    500: '#20329e',
    950: '#000000',
  },
}
SCSS
$custom: #20329e;
$custom-light: #726abc;
$custom-dark: #000000;
JSON
{
  "hex": "#20329e",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 231.429,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.17451,
    "h": 268.6
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#20329E
secondary
#C2B358
accent
#D13FE9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #20329E

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

Preview Lab → · Contrast checker → · Palette generator →

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