#20389F#20389F

#20389F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.169 H 267.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#20389F
RGBrgb(32, 56, 159)
HSLhsl(229, 66%, 37%)
HSVhsv(229, 80%, 62%)
CMYKcmyk(79.9%, 64.8%, 0%, 37.6%)
CIE-LABlab(28.48, 29.80, -58.26)
CIE-LCHlch(28.48, 65.44, 297.09°)
OKLaboklab(39.5% -0.0075 -0.1686)
OKLCHoklch(39.5% 0.169 267.5)
XYZxyz(8.2657, 5.6377, 33.4467)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20389F #9F8720
analogous
#20789F #20389F #47209F
triadic
#20389F #9F2038 #389F20
tetradic
#20389F #9F2078 #9F8720 #209F47
square
#20389F #9F2078 #9F8720 #209F47
split-complementary
#20389F #9F4720 #789F20
monochromatic
#0B1439 #16266C #20389F #2A4AD2 #5B74DE

Accessibility & contrast

On white

9.87
#20389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#20389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20389F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20389F#FFFFFF#000000##FFFFFF
##20389F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #20389f;
/* rgb */ color: rgb(32, 56, 159);
/* oklch */ color: oklch(39.5% 0.169 267.5);
Tailwind
colors: {
  custom: {
    50: '#726ebc',
    500: '#20389f',
    950: '#000000',
  },
}
SCSS
$custom: #20389f;
$custom-light: #726ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#20389f",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 228.661,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39503,
    "c": 0.16876,
    "h": 267.5
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#20389F
secondary
#C2AE59
accent
#C93EE9
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #20389F

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

Preview Lab → · Contrast checker → · Palette generator →

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