#20518C#20518C

#20518C is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.111 H 255.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#20518C
RGBrgb(32, 81, 140)
HSLhsl(213, 63%, 34%)
HSVhsv(213, 77%, 55%)
CMYKcmyk(77.1%, 42.1%, 0%, 45.1%)
CIE-LABlab(34.16, 5.36, -37.49)
CIE-LCHlch(34.16, 37.87, 278.14°)
OKLaboklab(43.36% -0.0287 -0.1071)
OKLCHoklch(43.36% 0.111 255)
XYZxyz(8.2700, 8.0844, 25.9305)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20518C #8C5B20
analogous
#20878C #20518C #25208C
triadic
#20518C #8C2051 #518C20
tetradic
#20518C #8C2087 #8C5B20 #208C25
square
#20518C #8C2087 #8C5B20 #208C25
split-complementary
#20518C #8C2520 #878C20
monochromatic
#091728 #15345A #20518C #2B6EBE #508DD7

Accessibility & contrast

On white

8.02
#20518C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#20518C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20518C
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20518C#FFFFFF#000000##FFFFFF
##20518C1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #20518c;
/* rgb */ color: rgb(32, 81, 140);
/* oklch */ color: oklch(43.4% 0.111 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c81ae',
    500: '#20518c',
    950: '#000000',
  },
}
SCSS
$custom: #20518c;
$custom-light: #6c81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20518c",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 212.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43363,
    "c": 0.11092,
    "h": 255
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#20518C
secondary
#BA894E
accent
#9B42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20518C

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

Preview Lab → · Contrast checker → · Palette generator →

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