#20487E#20487E

#20487E is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.3% C 0.102 H 256.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#20487E
RGBrgb(32, 72, 126)
HSLhsl(214, 59%, 31%)
HSVhsv(214, 75%, 49%)
CMYKcmyk(74.6%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.51, 5.82, -34.67)
CIE-LCHlch(30.51, 35.15, 279.53°)
OKLaboklab(40.25% -0.0233 -0.099)
OKLCHoklch(40.25% 0.102 256.8)
XYZxyz(6.6775, 6.4474, 20.6272)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20487E #7E5620
analogous
#20777E #20487E #27207E
triadic
#20487E #7E2048 #487E20
tetradic
#20487E #7E2077 #7E5620 #207E27
square
#20487E #7E2077 #7E5620 #207E27
split-complementary
#20487E #7E2720 #777E20
monochromatic
#07101C #142C4D #20487E #2C64AF #4882D0

Accessibility & contrast

On white

9.17
#20487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#20487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20487E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20487E#FFFFFF#000000##FFFFFF
##20487E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20487e;
/* rgb */ color: rgb(32, 72, 126);
/* oklch */ color: oklch(40.3% 0.102 256.8);
Tailwind
colors: {
  custom: {
    50: '#697aa4',
    500: '#20487e',
    950: '#000000',
  },
}
SCSS
$custom: #20487e;
$custom-light: #697aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#20487e",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 214.468,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40252,
    "c": 0.10172,
    "h": 256.8
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#20487E
secondary
#B18549
accent
#A045E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20487E

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

Preview Lab → · Contrast checker → · Palette generator →

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