#20326A#20326A

#20326A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.100 H 267.4°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#20326A
RGBrgb(32, 50, 106)
HSLhsl(225, 54%, 27%)
HSVhsv(225, 70%, 42%)
CMYKcmyk(69.8%, 52.8%, 0%, 58.4%)
CIE-LABlab(22.40, 13.14, -34.98)
CIE-LCHlch(22.40, 37.37, 290.58°)
OKLaboklab(33.58% -0.0046 -0.1003)
OKLCHoklch(33.58% 0.1 267.4)
XYZxyz(4.3369, 3.6285, 14.1047)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20326A #6A5820
analogous
#20576A #20326A #33206A
triadic
#20326A #6A2032 #326A20
tetradic
#20326A #6A2057 #6A5820 #206A33
square
#20326A #6A2057 #6A5820 #206A33
split-complementary
#20326A #6A3320 #576A20
monochromatic
#070B18 #121C3B #20326A #2E4899 #3F60C5

Accessibility & contrast

On white

12.17
#20326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#20326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20326A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20326A#FFFFFF#000000##FFFFFF
##20326A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #20326a;
/* rgb */ color: rgb(32, 50, 106);
/* oklch */ color: oklch(33.6% 0.100 267.4);
Tailwind
colors: {
  custom: {
    50: '#656995',
    500: '#20326a',
    950: '#000000',
  },
}
SCSS
$custom: #20326a;
$custom-light: #656995;
$custom-dark: #000000;
JSON
{
  "hex": "#20326a",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 225.405,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33582,
    "c": 0.10042,
    "h": 267.4
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#20326A
secondary
#9E8948
accent
#B94BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #20326A

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

Preview Lab → · Contrast checker → · Palette generator →

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