#20386F#20386F

#20386F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.100 H 264.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#20386F
RGBrgb(32, 56, 111)
HSLhsl(222, 55%, 28%)
HSVhsv(222, 71%, 44%)
CMYKcmyk(71.2%, 49.5%, 0%, 56.5%)
CIE-LABlab(24.58, 10.88, -34.69)
CIE-LCHlch(24.58, 36.36, 287.41°)
OKLaboklab(35.36% -0.0101 -0.0994)
OKLCHoklch(35.36% 0.1 264.2)
XYZxyz(4.8781, 4.2826, 15.6054)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20386F #6F5720
analogous
#205F6F #20386F #2F206F
triadic
#20386F #6F2038 #386F20
tetradic
#20386F #6F205F #6F5720 #206F2F
square
#20386F #6F205F #6F5720 #206F2F
split-complementary
#20386F #6F2F20 #5F6F20
monochromatic
#070C18 #12203F #20386F #2E509F #416AC8

Accessibility & contrast

On white

11.31
#20386F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#20386F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20386F
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20386F#FFFFFF#000000##FFFFFF
##20386F1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E71
Deuteranopia (green-blind)
#0A376E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20386f;
/* rgb */ color: rgb(32, 56, 111);
/* oklch */ color: oklch(35.4% 0.100 264.2);
Tailwind
colors: {
  custom: {
    50: '#666e99',
    500: '#20386f',
    950: '#000000',
  },
}
SCSS
$custom: #20386f;
$custom-light: #666e99;
$custom-dark: #000000;
JSON
{
  "hex": "#20386f",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 221.772,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35361,
    "c": 0.09987,
    "h": 264.2
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#20386F
secondary
#A38748
accent
#B149DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #20386F

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

Preview Lab → · Contrast checker → · Palette generator →

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