#20489C#20489C

#20489C is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.145 H 262.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#20489C
RGBrgb(32, 72, 156)
HSLhsl(221, 66%, 37%)
HSVhsv(221, 79%, 61%)
CMYKcmyk(79.5%, 53.8%, 0%, 38.8%)
CIE-LABlab(32.57, 17.79, -49.77)
CIE-LCHlch(32.57, 52.85, 289.67°)
OKLaboklab(42.49% -0.0183 -0.1434)
OKLCHoklch(42.49% 0.145 262.7)
XYZxyz(8.9116, 7.3411, 32.3933)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20489C #9C7420
analogous
#20869C #20489C #36209C
triadic
#20489C #9C2048 #489C20
tetradic
#20489C #9C2086 #9C7420 #209C36
square
#20489C #9C2086 #9C7420 #209C36
split-complementary
#20489C #9C3620 #869C20
monochromatic
#0B1936 #163169 #20489C #2A5FCF #5984DD

Accessibility & contrast

On white

8.51
#20489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#20489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20489C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20489C#FFFFFF#000000##FFFFFF
##20489C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20489c;
/* rgb */ color: rgb(32, 72, 156);
/* oklch */ color: oklch(42.5% 0.145 262.7);
Tailwind
colors: {
  custom: {
    50: '#707aba',
    500: '#20489c',
    950: '#000000',
  },
}
SCSS
$custom: #20489c;
$custom-light: #707aba;
$custom-dark: #000000;
JSON
{
  "hex": "#20489c",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 220.645,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.1446,
    "h": 262.7
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#20489C
secondary
#C19F57
accent
#B23FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #20489C

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

Preview Lab → · Contrast checker → · Palette generator →

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