#20479A#20479A

#20479A is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.143 H 262.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#20479A
RGBrgb(32, 71, 154)
HSLhsl(221, 66%, 36%)
HSVhsv(221, 79%, 60%)
CMYKcmyk(79.2%, 53.9%, 0%, 39.6%)
CIE-LABlab(32.14, 17.68, -49.26)
CIE-LCHlch(32.14, 52.34, 289.74°)
OKLaboklab(42.11% -0.0178 -0.142)
OKLCHoklch(42.11% 0.143 262.9)
XYZxyz(8.6795, 7.1456, 31.4874)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20479A #9A7320
analogous
#20849A #20479A #36209A
triadic
#20479A #9A2047 #479A20
tetradic
#20479A #9A2084 #9A7320 #209A36
square
#20479A #9A2084 #9A7320 #209A36
split-complementary
#20479A #9A3620 #849A20
monochromatic
#0B1835 #153067 #20479A #2B5ECD #5882DC

Accessibility & contrast

On white

8.64
#20479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#20479A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20479A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20479A#FFFFFF#000000##FFFFFF
##20479A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08519D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20479a;
/* rgb */ color: rgb(32, 71, 154);
/* oklch */ color: oklch(42.1% 0.143 262.9);
Tailwind
colors: {
  custom: {
    50: '#6f79b8',
    500: '#20479a',
    950: '#000000',
  },
}
SCSS
$custom: #20479a;
$custom-light: #6f79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#20479a",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 220.82,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42112,
    "c": 0.14307,
    "h": 262.9
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#20479A
secondary
#C09E56
accent
#B23FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #20479A

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

Preview Lab → · Contrast checker → · Palette generator →

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