#20396C#20396C

#20396C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.094 H 262.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#20396C
RGBrgb(32, 57, 108)
HSLhsl(220, 54%, 27%)
HSVhsv(220, 70%, 42%)
CMYKcmyk(70.4%, 47.2%, 0%, 57.6%)
CIE-LABlab(24.69, 8.98, -32.60)
CIE-LCHlch(24.69, 33.82, 285.40°)
OKLaboklab(35.37% -0.0117 -0.0932)
OKLCHoklch(35.37% 0.094 262.9)
XYZxyz(4.7646, 4.3156, 14.7663)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20396C #6C5320
analogous
#205F6C #20396C #2D206C
triadic
#20396C #6C2039 #396C20
tetradic
#20396C #6C205F #6C5320 #206C2D
square
#20396C #6C205F #6C5320 #206C2D
split-complementary
#20396C #6C2D20 #5F6C20
monochromatic
#070C18 #12203D #20396C #2E529B #406CC6

Accessibility & contrast

On white

11.27
#20396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20396C
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20396C#FFFFFF#000000##FFFFFF
##20396C1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#13376B
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20396c;
/* rgb */ color: rgb(32, 57, 108);
/* oklch */ color: oklch(35.4% 0.094 262.9);
Tailwind
colors: {
  custom: {
    50: '#656e96',
    500: '#20396c',
    950: '#000000',
  },
}
SCSS
$custom: #20396c;
$custom-light: #656e96;
$custom-dark: #000000;
JSON
{
  "hex": "#20396c",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 220.263,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35374,
    "c": 0.09393,
    "h": 262.9
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#20396C
secondary
#A08348
accent
#AD4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20396C

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

Preview Lab → · Contrast checker → · Palette generator →

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