#20487C#20487C

#20487C is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.1% C 0.099 H 256.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#20487C
RGBrgb(32, 72, 124)
HSLhsl(214, 59%, 31%)
HSVhsv(214, 74%, 49%)
CMYKcmyk(74.2%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.39, 5.03, -33.62)
CIE-LCHlch(30.39, 33.99, 278.51°)
OKLaboklab(40.12% -0.0238 -0.0959)
OKLCHoklch(40.12% 0.099 256.1)
XYZxyz(6.5498, 6.3963, 19.9543)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20487C #7C5420
analogous
#20767C #20487C #26207C
triadic
#20487C #7C2048 #487C20
tetradic
#20487C #7C2076 #7C5420 #207C26
square
#20487C #7C2076 #7C5420 #207C26
split-complementary
#20487C #7C2620 #767C20
monochromatic
#07101B #132C4B #20487C #2D64AD #4782CF

Accessibility & contrast

On white

9.21
#20487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20487C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20487C#FFFFFF#000000##FFFFFF
##20487C1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20487c;
/* rgb */ color: rgb(32, 72, 124);
/* oklch */ color: oklch(40.1% 0.099 256.1);
Tailwind
colors: {
  custom: {
    50: '#687aa2',
    500: '#20487c',
    950: '#000000',
  },
}
SCSS
$custom: #20487c;
$custom-light: #687aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#20487c",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 213.913,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40116,
    "c": 0.09882,
    "h": 256.1
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#20487C
secondary
#AF8349
accent
#9E46E2
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20487C

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

Preview Lab → · Contrast checker → · Palette generator →

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