#20518A#20518A

#20518A is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.108 H 254.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#20518A
RGBrgb(32, 81, 138)
HSLhsl(212, 62%, 33%)
HSVhsv(212, 77%, 54%)
CMYKcmyk(76.8%, 41.3%, 0%, 45.9%)
CIE-LABlab(34.04, 4.57, -36.46)
CIE-LCHlch(34.04, 36.74, 277.15°)
OKLaboklab(43.23% -0.0292 -0.1041)
OKLCHoklch(43.23% 0.108 254.3)
XYZxyz(8.1238, 8.0260, 25.1608)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20518A #8A5920
analogous
#20868A #20518A #24208A
triadic
#20518A #8A2051 #518A20
tetradic
#20518A #8A2086 #8A5920 #208A24
square
#20518A #8A2086 #8A5920 #208A24
split-complementary
#20518A #8A2420 #868A20
monochromatic
#091727 #143458 #20518A #2C6EBC #4E8DD6

Accessibility & contrast

On white

8.06
#20518A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#20518A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20518A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20518A#FFFFFF#000000##FFFFFF
##20518A1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #20518a;
/* rgb */ color: rgb(32, 81, 138);
/* oklch */ color: oklch(43.2% 0.108 254.3);
Tailwind
colors: {
  custom: {
    50: '#6b81ac',
    500: '#20518a',
    950: '#000000',
  },
}
SCSS
$custom: #20518a;
$custom-light: #6b81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#20518a",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 212.264,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43229,
    "c": 0.10813,
    "h": 254.3
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#20518A
secondary
#B9874D
accent
#9A42E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20518A

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

Preview Lab → · Contrast checker → · Palette generator →

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