#20327D#20327D

#20327D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.129 H 268.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#20327D
RGBrgb(32, 50, 125)
HSLhsl(228, 59%, 31%)
HSVhsv(228, 74%, 49%)
CMYKcmyk(74.4%, 60%, 0%, 51%)
CIE-LABlab(23.90, 20.68, -44.71)
CIE-LCHlch(23.90, 49.26, 294.83°)
OKLaboklab(35.18% -0.0032 -0.1289)
OKLCHoklch(35.18% 0.129 268.6)
XYZxyz(5.4367, 4.0684, 19.8968)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20327D #7D6B20
analogous
#20607D #20327D #3C207D
triadic
#20327D #7D2032 #327D20
tetradic
#20327D #7D2060 #7D6B20 #207D3C
square
#20327D #7D2060 #7D6B20 #207D3C
split-complementary
#20327D #7D3C20 #607D20
monochromatic
#070B1C #141F4C #20327D #2C45AE #4762D0

Accessibility & contrast

On white

11.58
#20327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#20327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20327D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20327D#FFFFFF#000000##FFFFFF
##20327D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20327d;
/* rgb */ color: rgb(32, 50, 125);
/* oklch */ color: oklch(35.2% 0.129 268.6);
Tailwind
colors: {
  custom: {
    50: '#6969a3',
    500: '#20327d',
    950: '#000000',
  },
}
SCSS
$custom: #20327d;
$custom-light: #6969a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20327d",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 228.387,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3518,
    "c": 0.12896,
    "h": 268.6
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#20327D
secondary
#B09C49
accent
#C445E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20327D

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

Preview Lab → · Contrast checker → · Palette generator →

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