#20326D#20326D

#20326D is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.105 H 267.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#20326D
RGBrgb(32, 50, 109)
HSLhsl(226, 55%, 28%)
HSVhsv(226, 71%, 43%)
CMYKcmyk(70.6%, 54.1%, 0%, 57.3%)
CIE-LABlab(22.63, 14.33, -36.56)
CIE-LCHlch(22.63, 39.27, 291.40°)
OKLaboklab(33.82% -0.0042 -0.105)
OKLCHoklch(33.82% 0.105 267.7)
XYZxyz(4.4956, 3.6920, 14.9407)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20326D #6D5B20
analogous
#20586D #20326D #34206D
triadic
#20326D #6D2032 #326D20
tetradic
#20326D #6D2058 #6D5B20 #206D34
square
#20326D #6D2058 #6D5B20 #206D34
split-complementary
#20326D #6D3420 #586D20
monochromatic
#070B18 #121C3E #20326D #2E489C #4060C7

Accessibility & contrast

On white

12.08
#20326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#20326D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20326D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20326D#FFFFFF#000000##FFFFFF
##20326D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3A6F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #20326d;
/* rgb */ color: rgb(32, 50, 109);
/* oklch */ color: oklch(33.8% 0.105 267.7);
Tailwind
colors: {
  custom: {
    50: '#666997',
    500: '#20326d',
    950: '#000000',
  },
}
SCSS
$custom: #20326d;
$custom-light: #666997;
$custom-dark: #000000;
JSON
{
  "hex": "#20326d",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 225.974,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33822,
    "c": 0.10505,
    "h": 267.7
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#20326D
secondary
#A18C48
accent
#BB4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #20326D

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

Preview Lab → · Contrast checker → · Palette generator →

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