#20396F#20396F

#20396F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.099 H 263.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#20396F
RGBrgb(32, 57, 111)
HSLhsl(221, 55%, 28%)
HSVhsv(221, 71%, 44%)
CMYKcmyk(71.2%, 48.6%, 0%, 56.5%)
CIE-LABlab(24.89, 10.17, -34.20)
CIE-LCHlch(24.89, 35.68, 286.57°)
OKLaboklab(35.6% -0.0111 -0.0979)
OKLCHoklch(35.6% 0.099 263.5)
XYZxyz(4.9270, 4.3805, 15.6217)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20396F #6F5620
analogous
#20606F #20396F #2E206F
triadic
#20396F #6F2039 #396F20
tetradic
#20396F #6F2060 #6F5620 #206F2E
square
#20396F #6F2060 #6F5620 #206F2E
split-complementary
#20396F #6F2E20 #606F20
monochromatic
#070C18 #12213F #20396F #2E519F #416CC8

Accessibility & contrast

On white

11.19
#20396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#20396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20396F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20396F#FFFFFF#000000##FFFFFF
##20396F1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#0E386E
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20396f;
/* rgb */ color: rgb(32, 57, 111);
/* oklch */ color: oklch(35.6% 0.099 263.5);
Tailwind
colors: {
  custom: {
    50: '#666e99',
    500: '#20396f',
    950: '#000000',
  },
}
SCSS
$custom: #20396f;
$custom-light: #666e99;
$custom-dark: #000000;
JSON
{
  "hex": "#20396f",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 221.013,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35596,
    "c": 0.09852,
    "h": 263.5
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#20396F
secondary
#A38648
accent
#AF49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #20396F

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

Preview Lab → · Contrast checker → · Palette generator →

#20396F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva