#20396E#20396E

#20396E is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.097 H 263.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#20396E
RGBrgb(32, 57, 110)
HSLhsl(221, 55%, 28%)
HSVhsv(221, 71%, 43%)
CMYKcmyk(70.9%, 48.2%, 0%, 56.9%)
CIE-LABlab(24.82, 9.78, -33.67)
CIE-LCHlch(24.82, 35.06, 286.19°)
OKLaboklab(35.52% -0.0113 -0.0963)
OKLCHoklch(35.52% 0.097 263.3)
XYZxyz(4.8723, 4.3586, 15.3334)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20396E #6E5520
analogous
#20606E #20396E #2E206E
triadic
#20396E #6E2039 #396E20
tetradic
#20396E #6E2060 #6E5520 #206E2E
square
#20396E #6E2060 #6E5520 #206E2E
split-complementary
#20396E #6E2E20 #606E20
monochromatic
#070C18 #12203F #20396E #2E529D #416CC8

Accessibility & contrast

On white

11.22
#20396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#20396E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20396E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20396E#FFFFFF#000000##FFFFFF
##20396E1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#0F386D
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #20396e;
/* rgb */ color: rgb(32, 57, 110);
/* oklch */ color: oklch(35.5% 0.097 263.3);
Tailwind
colors: {
  custom: {
    50: '#656e98',
    500: '#20396e',
    950: '#000000',
  },
}
SCSS
$custom: #20396e;
$custom-light: #656e98;
$custom-dark: #000000;
JSON
{
  "hex": "#20396e",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 220.769,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35521,
    "c": 0.09699,
    "h": 263.3
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#20396E
secondary
#A28548
accent
#AF4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20396E

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

Preview Lab → · Contrast checker → · Palette generator →

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