#20487B#20487B

#20487B is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.097 H 255.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#20487B
RGBrgb(32, 72, 123)
HSLhsl(214, 59%, 30%)
HSVhsv(214, 74%, 48%)
CMYKcmyk(74%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.33, 4.63, -33.09)
CIE-LCHlch(30.33, 33.41, 277.97°)
OKLaboklab(40.05% -0.024 -0.0944)
OKLCHoklch(40.05% 0.097 255.7)
XYZxyz(6.4869, 6.3712, 19.6229)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20487B #7B5320
analogous
#20767B #20487B #25207B
triadic
#20487B #7B2048 #487B20
tetradic
#20487B #7B2076 #7B5320 #207B25
square
#20487B #7B2076 #7B5320 #207B25
split-complementary
#20487B #7B2520 #767B20
monochromatic
#070F1A #132C4A #20487B #2D64AC #4682CF

Accessibility & contrast

On white

9.23
#20487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20487B
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20487B#FFFFFF#000000##FFFFFF
##20487B1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#22447A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20487b;
/* rgb */ color: rgb(32, 72, 123);
/* oklch */ color: oklch(40.0% 0.097 255.7);
Tailwind
colors: {
  custom: {
    50: '#687aa1',
    500: '#20487b',
    950: '#000000',
  },
}
SCSS
$custom: #20487b;
$custom-light: #687aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#20487b",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 213.626,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.09739,
    "h": 255.7
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20487B

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

Preview Lab → · Contrast checker → · Palette generator →

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