#20477D#20477D

#20477D is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.101 H 257.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#20477D
RGBrgb(32, 71, 125)
HSLhsl(215, 59%, 31%)
HSVhsv(215, 74%, 49%)
CMYKcmyk(74.4%, 43.2%, 0%, 51%)
CIE-LABlab(30.14, 6.10, -34.64)
CIE-LCHlch(30.14, 35.17, 279.99°)
OKLaboklab(39.94% -0.0225 -0.0989)
OKLCHoklch(39.94% 0.101 257.2)
XYZxyz(6.5492, 6.2935, 20.2677)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20477D #7D5620
analogous
#20757D #20477D #27207D
triadic
#20477D #7D2047 #477D20
tetradic
#20477D #7D2075 #7D5620 #207D27
square
#20477D #7D2075 #7D5620 #207D27
split-complementary
#20477D #7D2720 #757D20
monochromatic
#07101C #142B4C #20477D #2C63AE #4781D0

Accessibility & contrast

On white

9.30
#20477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20477D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20477D#FFFFFF#000000##FFFFFF
##20477D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20477d;
/* rgb */ color: rgb(32, 71, 125);
/* oklch */ color: oklch(39.9% 0.101 257.2);
Tailwind
colors: {
  custom: {
    50: '#6879a3',
    500: '#20477d',
    950: '#000000',
  },
}
SCSS
$custom: #20477d;
$custom-light: #6879a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20477d",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 214.839,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.10147,
    "h": 257.2
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#20477D
secondary
#B08549
accent
#A145E2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20477D

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

Preview Lab → · Contrast checker → · Palette generator →

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