#20386A#20386A

#20386A is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.092 H 263.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#20386A
RGBrgb(32, 56, 106)
HSLhsl(221, 54%, 27%)
HSVhsv(221, 70%, 42%)
CMYKcmyk(69.8%, 47.2%, 0%, 58.4%)
CIE-LABlab(24.24, 8.88, -32.03)
CIE-LCHlch(24.24, 33.24, 285.50°)
OKLaboklab(34.99% -0.011 -0.0915)
OKLCHoklch(34.99% 0.092 263.2)
XYZxyz(4.6104, 4.1756, 14.1959)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20386A #6A5220
analogous
#205D6A #20386A #2D206A
triadic
#20386A #6A2038 #386A20
tetradic
#20386A #6A205D #6A5220 #206A2D
square
#20386A #6A205D #6A5220 #206A2D
split-complementary
#20386A #6A2D20 #5D6A20
monochromatic
#070C18 #121F3B #20386A #2E5199 #3F6BC5

Accessibility & contrast

On white

11.44
#20386A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#20386A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20386A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20386A#FFFFFF#000000##FFFFFF
##20386A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6C
Deuteranopia (green-blind)
#133669
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20386a;
/* rgb */ color: rgb(32, 56, 106);
/* oklch */ color: oklch(35.0% 0.092 263.2);
Tailwind
colors: {
  custom: {
    50: '#656e95',
    500: '#20386a',
    950: '#000000',
  },
}
SCSS
$custom: #20386a;
$custom-light: #656e95;
$custom-dark: #000000;
JSON
{
  "hex": "#20386a",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 220.541,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34989,
    "c": 0.09219,
    "h": 263.2
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#20386A
secondary
#9E8248
accent
#AE4BDD
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #20386A

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

Preview Lab → · Contrast checker → · Palette generator →

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