#20326F#20326F

#20326F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.108 H 267.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#20326F
RGBrgb(32, 50, 111)
HSLhsl(226, 55%, 28%)
HSVhsv(226, 71%, 44%)
CMYKcmyk(71.2%, 55%, 0%, 56.5%)
CIE-LABlab(22.78, 15.13, -37.60)
CIE-LCHlch(22.78, 40.53, 291.92°)
OKLaboklab(33.99% -0.004 -0.108)
OKLCHoklch(33.99% 0.108 267.9)
XYZxyz(4.6045, 3.7355, 15.5142)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20326F #6F5D20
analogous
#20596F #20326F #35206F
triadic
#20326F #6F2032 #326F20
tetradic
#20326F #6F2059 #6F5D20 #206F35
square
#20326F #6F2059 #6F5D20 #206F35
split-complementary
#20326F #6F3520 #596F20
monochromatic
#070B18 #121D3F #20326F #2E479F #4160C8

Accessibility & contrast

On white

12.02
#20326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#20326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20326F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20326F#FFFFFF#000000##FFFFFF
##20326F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #20326f;
/* rgb */ color: rgb(32, 50, 111);
/* oklch */ color: oklch(34.0% 0.108 267.9);
Tailwind
colors: {
  custom: {
    50: '#666999',
    500: '#20326f',
    950: '#000000',
  },
}
SCSS
$custom: #20326f;
$custom-light: #666999;
$custom-dark: #000000;
JSON
{
  "hex": "#20326f",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 226.329,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33985,
    "c": 0.1081,
    "h": 267.9
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#20326F
secondary
#A38E48
accent
#BD49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #20326F

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

Preview Lab → · Contrast checker → · Palette generator →

#20326F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva