#20387A#20387A

#20387A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.116 H 265.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#20387A
RGBrgb(32, 56, 122)
HSLhsl(224, 58%, 30%)
HSVhsv(224, 74%, 48%)
CMYKcmyk(73.8%, 54.1%, 0%, 52.2%)
CIE-LABlab(25.38, 15.28, -40.40)
CIE-LCHlch(25.38, 43.19, 290.71°)
OKLaboklab(36.22% -0.0086 -0.1162)
OKLCHoklch(36.22% 0.116 265.8)
XYZxyz(5.5215, 4.5400, 18.9939)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20387A #7A6220
analogous
#20657A #20387A #35207A
triadic
#20387A #7A2038 #387A20
tetradic
#20387A #7A2065 #7A6220 #207A35
square
#20387A #7A2065 #7A6220 #207A35
split-complementary
#20387A #7A3520 #657A20
monochromatic
#070B19 #13224A #20387A #2D4EAA #466ACE

Accessibility & contrast

On white

11.01
#20387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#20387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20387A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20387A#FFFFFF#000000##FFFFFF
##20387A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20387a;
/* rgb */ color: rgb(32, 56, 122);
/* oklch */ color: oklch(36.2% 0.116 265.8);
Tailwind
colors: {
  custom: {
    50: '#686ea1',
    500: '#20387a',
    950: '#000000',
  },
}
SCSS
$custom: #20387a;
$custom-light: #686ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#20387a",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 224,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36223,
    "c": 0.11648,
    "h": 265.8
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#20387A
secondary
#AD9249
accent
#B846E2
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #20387A

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

Preview Lab → · Contrast checker → · Palette generator →

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