#20326B#20326B

#20326B is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.102 H 267.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#20326B
RGBrgb(32, 50, 107)
HSLhsl(226, 54%, 27%)
HSVhsv(226, 70%, 42%)
CMYKcmyk(70.1%, 53.3%, 0%, 58%)
CIE-LABlab(22.48, 13.54, -35.51)
CIE-LCHlch(22.48, 38.00, 290.87°)
OKLaboklab(33.66% -0.0044 -0.1019)
OKLCHoklch(33.66% 0.102 267.5)
XYZxyz(4.3892, 3.6494, 14.3802)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20326B #6B5920
analogous
#20586B #20326B #34206B
triadic
#20326B #6B2032 #326B20
tetradic
#20326B #6B2058 #6B5920 #206B34
square
#20326B #6B2058 #6B5920 #206B34
split-complementary
#20326B #6B3420 #586B20
monochromatic
#070B18 #121C3C #20326B #2E489A #4060C6

Accessibility & contrast

On white

12.14
#20326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20326B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20326B#FFFFFF#000000##FFFFFF
##20326B1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #20326b;
/* rgb */ color: rgb(32, 50, 107);
/* oklch */ color: oklch(33.7% 0.102 267.5);
Tailwind
colors: {
  custom: {
    50: '#656996',
    500: '#20326b',
    950: '#000000',
  },
}
SCSS
$custom: #20326b;
$custom-light: #656996;
$custom-dark: #000000;
JSON
{
  "hex": "#20326b",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 225.6,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33662,
    "c": 0.10197,
    "h": 267.5
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#20326B
secondary
#9F8A48
accent
#BA4ADD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #20326B

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

Preview Lab → · Contrast checker → · Palette generator →

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