#20489A#20489A

#20489A is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.142 H 262.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#20489A
RGBrgb(32, 72, 154)
HSLhsl(220, 66%, 36%)
HSVhsv(220, 79%, 60%)
CMYKcmyk(79.2%, 53.2%, 0%, 39.6%)
CIE-LABlab(32.42, 16.99, -48.80)
CIE-LCHlch(32.42, 51.68, 289.20°)
OKLaboklab(42.33% -0.0186 -0.1406)
OKLCHoklch(42.33% 0.142 262.5)
XYZxyz(8.7437, 7.2739, 31.5088)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20489A #9A7220
analogous
#20859A #20489A #35209A
triadic
#20489A #9A2048 #489A20
tetradic
#20489A #9A2085 #9A7220 #209A35
square
#20489A #9A2085 #9A7220 #209A35
split-complementary
#20489A #9A3520 #859A20
monochromatic
#0B1935 #153067 #20489A #2B60CD #5883DC

Accessibility & contrast

On white

8.55
#20489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#20489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20489A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20489A#FFFFFF#000000##FFFFFF
##20489A1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20489a;
/* rgb */ color: rgb(32, 72, 154);
/* oklch */ color: oklch(42.3% 0.142 262.5);
Tailwind
colors: {
  custom: {
    50: '#6f7ab8',
    500: '#20489a',
    950: '#000000',
  },
}
SCSS
$custom: #20489a;
$custom-light: #6f7ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#20489a",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 220.328,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42329,
    "c": 0.1418,
    "h": 262.5
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#20489A
secondary
#C09D56
accent
#B13FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #20489A

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

Preview Lab → · Contrast checker → · Palette generator →

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