#20518F#20518F

#20518F is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.115 H 255.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#20518F
RGBrgb(32, 81, 143)
HSLhsl(214, 63%, 34%)
HSVhsv(214, 78%, 56%)
CMYKcmyk(77.6%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.34, 6.55, -39.03)
CIE-LCHlch(34.34, 39.57, 279.53°)
OKLaboklab(43.57% -0.0281 -0.1116)
OKLCHoklch(43.57% 0.115 255.9)
XYZxyz(8.4942, 8.1741, 27.1114)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20518F #8F5E20
analogous
#20898F #20518F #27208F
triadic
#20518F #8F2051 #518F20
tetradic
#20518F #8F2089 #8F5E20 #208F27
square
#20518F #8F2089 #8F5E20 #208F27
split-complementary
#20518F #8F2720 #898F20
monochromatic
#0A182B #15355D #20518F #2B6DC1 #518DD8

Accessibility & contrast

On white

7.97
#20518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#20518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20518F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20518F#FFFFFF#000000##FFFFFF
##20518F1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#1F4C8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #20518f;
/* rgb */ color: rgb(32, 81, 143);
/* oklch */ color: oklch(43.6% 0.115 255.9);
Tailwind
colors: {
  custom: {
    50: '#6c81b0',
    500: '#20518f',
    950: '#000000',
  },
}
SCSS
$custom: #20518f;
$custom-light: #6c81b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20518f",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 213.514,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.11511,
    "h": 255.9
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#20518F
secondary
#BB8C4F
accent
#9E41E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #20518F

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

Preview Lab → · Contrast checker → · Palette generator →

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