#20389C#20389C

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

Color values

HEX#20389C
RGBrgb(32, 56, 156)
HSLhsl(228, 66%, 37%)
HSVhsv(228, 79%, 61%)
CMYKcmyk(79.5%, 64.1%, 0%, 38.8%)
CIE-LABlab(28.21, 28.65, -56.88)
CIE-LCHlch(28.21, 63.69, 296.74°)
OKLaboklab(39.22% -0.0074 -0.1645)
OKLCHoklch(39.22% 0.165 267.4)
XYZxyz(8.0085, 5.5348, 32.0923)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20389C #9C8420
analogous
#20769C #20389C #46209C
triadic
#20389C #9C2038 #389C20
tetradic
#20389C #9C2076 #9C8420 #209C46
square
#20389C #9C2076 #9C8420 #209C46
split-complementary
#20389C #9C4620 #769C20
monochromatic
#0B1436 #162669 #20389C #2A4ACF #5973DD

Accessibility & contrast

On white

9.97
#20389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#20389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20389C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20389C#FFFFFF#000000##FFFFFF
##20389C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #20389c;
/* rgb */ color: rgb(32, 56, 156);
/* oklch */ color: oklch(39.2% 0.165 267.4);
Tailwind
colors: {
  custom: {
    50: '#716eba',
    500: '#20389c',
    950: '#000000',
  },
}
SCSS
$custom: #20389c;
$custom-light: #716eba;
$custom-dark: #000000;
JSON
{
  "hex": "#20389c",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 228.387,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39219,
    "c": 0.16472,
    "h": 267.4
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20389C

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

Preview Lab → · Contrast checker → · Palette generator →

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