#20489B#20489B

#20489B is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.143 H 262.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#20489B
RGBrgb(32, 72, 155)
HSLhsl(220, 66%, 37%)
HSVhsv(220, 79%, 61%)
CMYKcmyk(79.4%, 53.5%, 0%, 39.2%)
CIE-LABlab(32.50, 17.39, -49.29)
CIE-LCHlch(32.50, 52.27, 289.44°)
OKLaboklab(42.41% -0.0184 -0.142)
OKLCHoklch(42.41% 0.143 262.6)
XYZxyz(8.8273, 7.3073, 31.9492)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20489B #9B7320
analogous
#20869B #20489B #36209B
triadic
#20489B #9B2048 #489B20
tetradic
#20489B #9B2086 #9B7320 #209B36
square
#20489B #9B2086 #9B7320 #209B36
split-complementary
#20489B #9B3620 #869B20
monochromatic
#0B1936 #163068 #20489B #2A60CE #5984DD

Accessibility & contrast

On white

8.53
#20489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#20489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20489B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20489B#FFFFFF#000000##FFFFFF
##20489B1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B529E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20489b;
/* rgb */ color: rgb(32, 72, 155);
/* oklch */ color: oklch(42.4% 0.143 262.6);
Tailwind
colors: {
  custom: {
    50: '#6f7ab9',
    500: '#20489b',
    950: '#000000',
  },
}
SCSS
$custom: #20489b;
$custom-light: #6f7ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#20489b",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 220.488,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.1432,
    "h": 262.6
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#20489B
secondary
#C19E56
accent
#B23FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #20489B

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

Preview Lab → · Contrast checker → · Palette generator →

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