#20477E#20477E

#20477E is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.103 H 257.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#20477E
RGBrgb(32, 71, 126)
HSLhsl(215, 59%, 31%)
HSVhsv(215, 75%, 49%)
CMYKcmyk(74.6%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.20, 6.50, -35.16)
CIE-LCHlch(30.20, 35.76, 280.47°)
OKLaboklab(40.01% -0.0223 -0.1005)
OKLCHoklch(40.01% 0.103 257.5)
XYZxyz(6.6134, 6.3192, 20.6058)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20477E #7E5720
analogous
#20767E #20477E #28207E
triadic
#20477E #7E2047 #477E20
tetradic
#20477E #7E2076 #7E5720 #207E28
square
#20477E #7E2076 #7E5720 #207E28
split-complementary
#20477E #7E2820 #767E20
monochromatic
#07101C #142B4D #20477E #2C63AF #4881D0

Accessibility & contrast

On white

9.28
#20477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#20477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20477E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20477E#FFFFFF#000000##FFFFFF
##20477E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20477e;
/* rgb */ color: rgb(32, 71, 126);
/* oklch */ color: oklch(40.0% 0.103 257.5);
Tailwind
colors: {
  custom: {
    50: '#6979a4',
    500: '#20477e',
    950: '#000000',
  },
}
SCSS
$custom: #20477e;
$custom-light: #6979a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20477e",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 215.106,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.10293,
    "h": 257.5
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#20477E
secondary
#B18649
accent
#A145E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20477E

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

Preview Lab → · Contrast checker → · Palette generator →

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