#20389B#20389B

#20389B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.163 H 267.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#20389B
RGBrgb(32, 56, 155)
HSLhsl(228, 66%, 37%)
HSVhsv(228, 79%, 61%)
CMYKcmyk(79.4%, 63.9%, 0%, 39.2%)
CIE-LABlab(28.12, 28.27, -56.42)
CIE-LCHlch(28.12, 63.10, 296.61°)
OKLaboklab(39.13% -0.0074 -0.1632)
OKLCHoklch(39.13% 0.163 267.4)
XYZxyz(7.9242, 5.5011, 31.6482)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20389B #9B8320
analogous
#20769B #20389B #46209B
triadic
#20389B #9B2038 #389B20
tetradic
#20389B #9B2076 #9B8320 #209B46
square
#20389B #9B2076 #9B8320 #209B46
split-complementary
#20389B #9B4620 #769B20
monochromatic
#0B1336 #162668 #20389B #2A4ACE #5972DD

Accessibility & contrast

On white

10.00
#20389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#20389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20389B
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20389B#FFFFFF#000000##FFFFFF
##20389B1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #20389b;
/* rgb */ color: rgb(32, 56, 155);
/* oklch */ color: oklch(39.1% 0.163 267.4);
Tailwind
colors: {
  custom: {
    50: '#716eb9',
    500: '#20389b',
    950: '#000000',
  },
}
SCSS
$custom: #20389b;
$custom-light: #716eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#20389b",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 228.293,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39125,
    "c": 0.16337,
    "h": 267.4
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#20389B
secondary
#C1AC56
accent
#C83FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #20389B

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

Preview Lab → · Contrast checker → · Palette generator →

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