#20389E#20389E

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

Color values

HEX#20389E
RGBrgb(32, 56, 158)
HSLhsl(229, 66%, 37%)
HSVhsv(229, 80%, 62%)
CMYKcmyk(79.7%, 64.6%, 0%, 38%)
CIE-LABlab(28.39, 29.42, -57.80)
CIE-LCHlch(28.39, 64.86, 296.97°)
OKLaboklab(39.41% -0.0074 -0.1672)
OKLCHoklch(39.41% 0.167 267.5)
XYZxyz(8.1792, 5.6031, 32.9916)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20389E #9E8620
analogous
#20779E #20389E #47209E
triadic
#20389E #9E2038 #389E20
tetradic
#20389E #9E2077 #9E8620 #209E47
square
#20389E #9E2077 #9E8620 #209E47
split-complementary
#20389E #9E4720 #779E20
monochromatic
#0B1438 #16266B #20389E #2A4AD1 #5B74DE

Accessibility & contrast

On white

9.90
#20389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#20389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20389E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20389E#FFFFFF#000000##FFFFFF
##20389E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #20389e;
/* rgb */ color: rgb(32, 56, 158);
/* oklch */ color: oklch(39.4% 0.167 267.5);
Tailwind
colors: {
  custom: {
    50: '#716ebc',
    500: '#20389e',
    950: '#000000',
  },
}
SCSS
$custom: #20389e;
$custom-light: #716ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#20389e",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 228.571,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.16742,
    "h": 267.5
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#20389E
secondary
#C2AE58
accent
#C93FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #20389E

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

Preview Lab → · Contrast checker → · Palette generator →

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