#20396B#20396B

#20396B is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.092 H 262.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#20396B
RGBrgb(32, 57, 107)
HSLhsl(220, 54%, 27%)
HSVhsv(220, 70%, 42%)
CMYKcmyk(70.1%, 46.7%, 0%, 58%)
CIE-LABlab(24.62, 8.58, -32.07)
CIE-LCHlch(24.62, 33.19, 284.98°)
OKLaboklab(35.3% -0.0119 -0.0916)
OKLCHoklch(35.3% 0.092 262.6)
XYZxyz(4.7117, 4.2944, 14.4877)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20396B #6B5220
analogous
#205F6B #20396B #2D206B
triadic
#20396B #6B2039 #396B20
tetradic
#20396B #6B205F #6B5220 #206B2D
square
#20396B #6B205F #6B5220 #206B2D
split-complementary
#20396B #6B2D20 #5F6B20
monochromatic
#070D18 #12203C #20396B #2E529A #406CC6

Accessibility & contrast

On white

11.30
#20396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#20396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20396B
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20396B#FFFFFF#000000##FFFFFF
##20396B1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#14376A
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20396b;
/* rgb */ color: rgb(32, 57, 107);
/* oklch */ color: oklch(35.3% 0.092 262.6);
Tailwind
colors: {
  custom: {
    50: '#656e96',
    500: '#20396b',
    950: '#000000',
  },
}
SCSS
$custom: #20396b;
$custom-light: #656e96;
$custom-dark: #000000;
JSON
{
  "hex": "#20396b",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 220,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35302,
    "c": 0.09238,
    "h": 262.6
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#20396B
secondary
#9F8248
accent
#AC4ADD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20396B

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

Preview Lab → · Contrast checker → · Palette generator →

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