#20479E#20479E

#20479E is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.149 H 263.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#20479E
RGBrgb(32, 71, 158)
HSLhsl(221, 66%, 37%)
HSVhsv(221, 80%, 62%)
CMYKcmyk(79.7%, 55.1%, 0%, 38%)
CIE-LABlab(32.44, 19.26, -51.20)
CIE-LCHlch(32.44, 54.70, 290.62°)
OKLaboklab(42.44% -0.0174 -0.1476)
OKLCHoklch(42.44% 0.149 263.3)
XYZxyz(9.0183, 7.2811, 33.2712)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20479E #9E7720
analogous
#20869E #20479E #38209E
triadic
#20479E #9E2047 #479E20
tetradic
#20479E #9E2086 #9E7720 #209E38
square
#20479E #9E2086 #9E7720 #209E38
split-complementary
#20479E #9E3820 #869E20
monochromatic
#0B1938 #16306B #20479E #2A5ED1 #5B83DE

Accessibility & contrast

On white

8.55
#20479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#20479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20479E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20479E#FFFFFF#000000##FFFFFF
##20479E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20479e;
/* rgb */ color: rgb(32, 71, 158);
/* oklch */ color: oklch(42.4% 0.149 263.3);
Tailwind
colors: {
  custom: {
    50: '#7079bb',
    500: '#20479e',
    950: '#000000',
  },
}
SCSS
$custom: #20479e;
$custom-light: #7079bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20479e",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 221.429,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.14866,
    "h": 263.3
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#20479E
secondary
#C2A158
accent
#B43FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #20479E

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

Preview Lab → · Contrast checker → · Palette generator →

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