#20487A#20487A

#20487A is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 40.0% C 0.096 H 255.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#20487A
RGBrgb(32, 72, 122)
HSLhsl(213, 58%, 30%)
HSVhsv(213, 74%, 48%)
CMYKcmyk(73.8%, 41%, 0%, 52.2%)
CIE-LABlab(30.27, 4.24, -32.56)
CIE-LCHlch(30.27, 32.84, 277.41°)
OKLaboklab(39.98% -0.0243 -0.0928)
OKLCHoklch(39.98% 0.096 255.3)
XYZxyz(6.4246, 6.3463, 19.2949)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20487A #7A5220
analogous
#20757A #20487A #25207A
triadic
#20487A #7A2048 #487A20
tetradic
#20487A #7A2075 #7A5220 #207A25
square
#20487A #7A2075 #7A5220 #207A25
split-complementary
#20487A #7A2520 #757A20
monochromatic
#070F19 #132B4A #20487A #2D65AA #4683CE

Accessibility & contrast

On white

9.25
#20487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#20487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20487A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20487A#FFFFFF#000000##FFFFFF
##20487A1.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)
#314C7C
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20487a;
/* rgb */ color: rgb(32, 72, 122);
/* oklch */ color: oklch(40.0% 0.096 255.3);
Tailwind
colors: {
  custom: {
    50: '#687aa1',
    500: '#20487a',
    950: '#000000',
  },
}
SCSS
$custom: #20487a;
$custom-light: #687aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#20487a",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 213.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.09595,
    "h": 255.3
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#20487A
secondary
#AD8049
accent
#9D46E2
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #20487A

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

Preview Lab → · Contrast checker → · Palette generator →

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