#20477F#20477F

#20477F is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.104 H 257.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#20477F
RGBrgb(32, 71, 127)
HSLhsl(215, 60%, 31%)
HSVhsv(215, 75%, 50%)
CMYKcmyk(74.8%, 44.1%, 0%, 50.2%)
CIE-LABlab(30.27, 6.90, -35.69)
CIE-LCHlch(30.27, 36.35, 280.94°)
OKLaboklab(40.08% -0.0221 -0.102)
OKLCHoklch(40.08% 0.104 257.8)
XYZxyz(6.6783, 6.3451, 20.9473)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20477F #7F5820
analogous
#20767F #20477F #28207F
triadic
#20477F #7F2047 #477F20
tetradic
#20477F #7F2076 #7F5820 #207F28
square
#20477F #7F2076 #7F5820 #207F28
split-complementary
#20477F #7F2820 #767F20
monochromatic
#07101D #142C4E #20477F #2C62B0 #4880D1

Accessibility & contrast

On white

9.25
#20477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#20477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20477F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20477F#FFFFFF#000000##FFFFFF
##20477F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20477f;
/* rgb */ color: rgb(32, 71, 127);
/* oklch */ color: oklch(40.1% 0.104 257.8);
Tailwind
colors: {
  custom: {
    50: '#6979a4',
    500: '#20477f',
    950: '#000000',
  },
}
SCSS
$custom: #20477f;
$custom-light: #6979a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20477f",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 215.368,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.10437,
    "h": 257.8
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#20477F
secondary
#B28749
accent
#A245E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20477F

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

Preview Lab → · Contrast checker → · Palette generator →

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