#20479B#20479B

#20479B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.144 H 263.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#20479B
RGBrgb(32, 71, 155)
HSLhsl(221, 66%, 37%)
HSVhsv(221, 79%, 61%)
CMYKcmyk(79.4%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.21, 18.07, -49.75)
CIE-LCHlch(32.21, 52.93, 289.97°)
OKLaboklab(42.19% -0.0177 -0.1434)
OKLCHoklch(42.19% 0.144 263)
XYZxyz(8.7632, 7.1791, 31.9278)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20479B #9B7420
analogous
#20859B #20479B #37209B
triadic
#20479B #9B2047 #479B20
tetradic
#20479B #9B2085 #9B7420 #209B37
square
#20479B #9B2085 #9B7420 #209B37
split-complementary
#20479B #9B3720 #859B20
monochromatic
#0B1936 #163068 #20479B #2A5ECE #5983DD

Accessibility & contrast

On white

8.62
#20479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#20479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20479B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20479B#FFFFFF#000000##FFFFFF
##20479B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05529E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20479b;
/* rgb */ color: rgb(32, 71, 155);
/* oklch */ color: oklch(42.2% 0.144 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f79b9',
    500: '#20479b',
    950: '#000000',
  },
}
SCSS
$custom: #20479b;
$custom-light: #6f79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20479b",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 220.976,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42193,
    "c": 0.14447,
    "h": 263
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#20479B
secondary
#C19F56
accent
#B33FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #20479B

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

Preview Lab → · Contrast checker → · Palette generator →

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