#20326E#20326E

#20326E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.107 H 267.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#20326E
RGBrgb(32, 50, 110)
HSLhsl(226, 55%, 28%)
HSVhsv(226, 71%, 43%)
CMYKcmyk(70.9%, 54.5%, 0%, 56.9%)
CIE-LABlab(22.70, 14.73, -37.08)
CIE-LCHlch(22.70, 39.90, 291.67°)
OKLaboklab(33.9% -0.0041 -0.1065)
OKLCHoklch(33.9% 0.107 267.8)
XYZxyz(4.5498, 3.7136, 15.2259)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20326E #6E5C20
analogous
#20596E #20326E #35206E
triadic
#20326E #6E2032 #326E20
tetradic
#20326E #6E2059 #6E5C20 #206E35
square
#20326E #6E2059 #6E5C20 #206E35
split-complementary
#20326E #6E3520 #596E20
monochromatic
#070B18 #121C3F #20326E #2E489D #4160C8

Accessibility & contrast

On white

12.05
#20326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20326E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20326E#FFFFFF#000000##FFFFFF
##20326E1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20326e;
/* rgb */ color: rgb(32, 50, 110);
/* oklch */ color: oklch(33.9% 0.107 267.8);
Tailwind
colors: {
  custom: {
    50: '#666998',
    500: '#20326e',
    950: '#000000',
  },
}
SCSS
$custom: #20326e;
$custom-light: #666998;
$custom-dark: #000000;
JSON
{
  "hex": "#20326e",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 226.154,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33903,
    "c": 0.10658,
    "h": 267.8
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#20326E
secondary
#A28D48
accent
#BC4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #20326E

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

Preview Lab → · Contrast checker → · Palette generator →

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