#20487F#20487F

#20487F is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.103 H 257.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#20487F
RGBrgb(32, 72, 127)
HSLhsl(215, 60%, 31%)
HSVhsv(215, 75%, 50%)
CMYKcmyk(74.8%, 43.3%, 0%, 50.2%)
CIE-LABlab(30.58, 6.22, -35.19)
CIE-LCHlch(30.58, 35.74, 280.02°)
OKLaboklab(40.32% -0.0231 -0.1005)
OKLCHoklch(40.32% 0.103 257.1)
XYZxyz(6.7424, 6.4734, 20.9687)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20487F #7F5720
analogous
#20777F #20487F #27207F
triadic
#20487F #7F2048 #487F20
tetradic
#20487F #7F2077 #7F5720 #207F27
square
#20487F #7F2077 #7F5720 #207F27
split-complementary
#20487F #7F2720 #777F20
monochromatic
#07111D #142C4E #20487F #2C64B0 #4882D1

Accessibility & contrast

On white

9.15
#20487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20487F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20487F#FFFFFF#000000##FFFFFF
##20487F1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20487f;
/* rgb */ color: rgb(32, 72, 127);
/* oklch */ color: oklch(40.3% 0.103 257.1);
Tailwind
colors: {
  custom: {
    50: '#697aa4',
    500: '#20487f',
    950: '#000000',
  },
}
SCSS
$custom: #20487f;
$custom-light: #697aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#20487f",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 214.737,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.10316,
    "h": 257.1
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20487F

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

Preview Lab → · Contrast checker → · Palette generator →

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