#20385B#20385B

#20385B is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.0% C 0.069 H 257.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#20385B
RGBrgb(32, 56, 91)
HSLhsl(216, 48%, 24%)
HSVhsv(216, 65%, 36%)
CMYKcmyk(64.8%, 38.5%, 0%, 64.3%)
CIE-LABlab(23.31, 3.00, -23.77)
CIE-LCHlch(23.31, 23.96, 277.19°)
OKLaboklab(33.96% -0.0146 -0.0673)
OKLCHoklch(33.96% 0.069 257.8)
XYZxyz(3.8975, 3.8904, 10.4410)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20385B #5B4320
analogous
#20565B #20385B #26205B
triadic
#20385B #5B2038 #385B20
tetradic
#20385B #5B2056 #5B4320 #205B26
square
#20385B #5B2056 #5B4320 #205B26
split-complementary
#20385B #5B2620 #565B20
monochromatic
#080E17 #101C2E #20385B #305488 #4070B6

Accessibility & contrast

On white

11.81
#20385B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#20385B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20385B
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20385B#FFFFFF#000000##FFFFFF
##20385B1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5C
Deuteranopia (green-blind)
#21355A
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20385b;
/* rgb */ color: rgb(32, 56, 91);
/* oklch */ color: oklch(34.0% 0.069 257.8);
Tailwind
colors: {
  custom: {
    50: '#616e89',
    500: '#20385b',
    950: '#000000',
  },
}
SCSS
$custom: #20385b;
$custom-light: #616e89;
$custom-dark: #000000;
JSON
{
  "hex": "#20385b",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 91
  },
  "hsl": {
    "h": 215.593,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.0689,
    "h": 257.8
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#20385B
secondary
#8F7247
accent
#A150D8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070B
muted
#7A7A7C

Preview Lab

Preview with #20385B

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

Preview Lab → · Contrast checker → · Palette generator →

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