#20389A#20389A

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

Color values

HEX#20389A
RGBrgb(32, 56, 154)
HSLhsl(228, 66%, 36%)
HSVhsv(228, 79%, 60%)
CMYKcmyk(79.2%, 63.6%, 0%, 39.6%)
CIE-LABlab(28.03, 27.88, -55.96)
CIE-LCHlch(28.03, 62.52, 296.49°)
OKLaboklab(39.03% -0.0073 -0.1618)
OKLCHoklch(39.03% 0.162 267.4)
XYZxyz(7.8405, 5.4676, 31.2077)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20389A #9A8220
analogous
#20759A #20389A #45209A
triadic
#20389A #9A2038 #389A20
tetradic
#20389A #9A2075 #9A8220 #209A45
square
#20389A #9A2075 #9A8220 #209A45
split-complementary
#20389A #9A4520 #759A20
monochromatic
#0B1335 #152667 #20389A #2B4ACD #5872DC

Accessibility & contrast

On white

10.03
#20389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#20389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20389A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20389A#FFFFFF#000000##FFFFFF
##20389A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #20389a;
/* rgb */ color: rgb(32, 56, 154);
/* oklch */ color: oklch(39.0% 0.162 267.4);
Tailwind
colors: {
  custom: {
    50: '#706eb9',
    500: '#20389a',
    950: '#000000',
  },
}
SCSS
$custom: #20389a;
$custom-light: #706eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#20389a",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 228.197,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39031,
    "c": 0.16202,
    "h": 267.4
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#20389A
secondary
#C0AB56
accent
#C73FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #20389A

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

Preview Lab → · Contrast checker → · Palette generator →

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