#20489F#20489F

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

Color values

HEX#20489F
RGBrgb(32, 72, 159)
HSLhsl(221, 66%, 37%)
HSVhsv(221, 80%, 62%)
CMYKcmyk(79.9%, 54.7%, 0%, 37.6%)
CIE-LABlab(32.80, 18.98, -51.22)
CIE-LCHlch(32.80, 54.62, 290.34°)
OKLaboklab(42.73% -0.018 -0.1477)
OKLCHoklch(42.73% 0.149 263)
XYZxyz(9.1688, 7.4439, 33.7478)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20489F #9F7720
analogous
#20889F #20489F #37209F
triadic
#20489F #9F2048 #489F20
tetradic
#20489F #9F2088 #9F7720 #209F37
square
#20489F #9F2088 #9F7720 #209F37
split-complementary
#20489F #9F3720 #889F20
monochromatic
#0B1A39 #16316C #20489F #2A5FD2 #5B85DE

Accessibility & contrast

On white

8.44
#20489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#20489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20489F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20489F#FFFFFF#000000##FFFFFF
##20489F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20489f;
/* rgb */ color: rgb(32, 72, 159);
/* oklch */ color: oklch(42.7% 0.149 263.0);
Tailwind
colors: {
  custom: {
    50: '#707abc',
    500: '#20489f',
    950: '#000000',
  },
}
SCSS
$custom: #20489f;
$custom-light: #707abc;
$custom-dark: #000000;
JSON
{
  "hex": "#20489f",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 221.102,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.14878,
    "h": 263
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#20489F
secondary
#C2A159
accent
#B43EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #20489F

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

Preview Lab → · Contrast checker → · Palette generator →

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