#20487D#20487D

#20487D is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.2% C 0.100 H 256.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#20487D
RGBrgb(32, 72, 125)
HSLhsl(214, 59%, 31%)
HSVhsv(214, 74%, 49%)
CMYKcmyk(74.4%, 42.4%, 0%, 51%)
CIE-LABlab(30.45, 5.42, -34.14)
CIE-LCHlch(30.45, 34.57, 279.03°)
OKLaboklab(40.18% -0.0235 -0.0975)
OKLCHoklch(40.18% 0.1 256.4)
XYZxyz(6.6133, 6.4218, 20.2890)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20487D #7D5520
analogous
#20767D #20487D #27207D
triadic
#20487D #7D2048 #487D20
tetradic
#20487D #7D2076 #7D5520 #207D27
square
#20487D #7D2076 #7D5520 #207D27
split-complementary
#20487D #7D2720 #767D20
monochromatic
#07101C #142C4C #20487D #2C64AE #4782D0

Accessibility & contrast

On white

9.19
#20487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#20487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20487D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20487D#FFFFFF#000000##FFFFFF
##20487D1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#20447C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20487d;
/* rgb */ color: rgb(32, 72, 125);
/* oklch */ color: oklch(40.2% 0.100 256.4);
Tailwind
colors: {
  custom: {
    50: '#687aa3',
    500: '#20487d',
    950: '#000000',
  },
}
SCSS
$custom: #20487d;
$custom-light: #687aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#20487d",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 214.194,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40184,
    "c": 0.10027,
    "h": 256.4
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#20487D
secondary
#B08449
accent
#9F45E2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20487D

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

Preview Lab → · Contrast checker → · Palette generator →

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