#20489E#20489E

#20489E is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.147 H 262.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#20489E
RGBrgb(32, 72, 158)
HSLhsl(221, 66%, 37%)
HSVhsv(221, 80%, 62%)
CMYKcmyk(79.7%, 54.4%, 0%, 38%)
CIE-LABlab(32.72, 18.58, -50.74)
CIE-LCHlch(32.72, 54.03, 290.12°)
OKLaboklab(42.65% -0.0181 -0.1463)
OKLCHoklch(42.65% 0.147 262.9)
XYZxyz(9.0824, 7.4094, 33.2926)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20489E #9E7620
analogous
#20879E #20489E #37209E
triadic
#20489E #9E2048 #489E20
tetradic
#20489E #9E2087 #9E7620 #209E37
square
#20489E #9E2087 #9E7620 #209E37
split-complementary
#20489E #9E3720 #879E20
monochromatic
#0B1A38 #16316B #20489E #2A5FD1 #5B84DE

Accessibility & contrast

On white

8.46
#20489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#20489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20489E
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20489E#FFFFFF#000000##FFFFFF
##20489E1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20489e;
/* rgb */ color: rgb(32, 72, 158);
/* oklch */ color: oklch(42.7% 0.147 262.9);
Tailwind
colors: {
  custom: {
    50: '#707abb',
    500: '#20489e',
    950: '#000000',
  },
}
SCSS
$custom: #20489e;
$custom-light: #707abb;
$custom-dark: #000000;
JSON
{
  "hex": "#20489e",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 220.952,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42651,
    "c": 0.14739,
    "h": 262.9
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#20489E
secondary
#C2A058
accent
#B33FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #20489E

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

Preview Lab → · Contrast checker → · Palette generator →

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