#20327A#20327A

#20327A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.125 H 268.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#20327A
RGBrgb(32, 50, 122)
HSLhsl(228, 58%, 30%)
HSVhsv(228, 74%, 48%)
CMYKcmyk(73.8%, 59%, 0%, 52.2%)
CIE-LABlab(23.65, 19.50, -43.21)
CIE-LCHlch(23.65, 47.41, 294.28°)
OKLaboklab(34.92% -0.0033 -0.1245)
OKLCHoklch(34.92% 0.125 268.5)
XYZxyz(5.2479, 3.9929, 18.9027)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20327A #7A6820
analogous
#205F7A #20327A #3B207A
triadic
#20327A #7A2032 #327A20
tetradic
#20327A #7A205F #7A6820 #207A3B
square
#20327A #7A205F #7A6820 #207A3B
split-complementary
#20327A #7A3B20 #5F7A20
monochromatic
#070A19 #131E4A #20327A #2D46AA #4661CE

Accessibility & contrast

On white

11.68
#20327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#20327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20327A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20327A#FFFFFF#000000##FFFFFF
##20327A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20327a;
/* rgb */ color: rgb(32, 50, 122);
/* oklch */ color: oklch(34.9% 0.125 268.5);
Tailwind
colors: {
  custom: {
    50: '#6969a1',
    500: '#20327a',
    950: '#000000',
  },
}
SCSS
$custom: #20327a;
$custom-light: #6969a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20327a",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 228,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34916,
    "c": 0.12457,
    "h": 268.5
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#20327A
secondary
#AD9949
accent
#C346E2
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20327A

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

Preview Lab → · Contrast checker → · Palette generator →

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