#20508C#20508C

#20508C is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.112 H 255.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#20508C
RGBrgb(32, 80, 140)
HSLhsl(213, 63%, 34%)
HSVhsv(213, 77%, 55%)
CMYKcmyk(77.1%, 42.9%, 0%, 45.1%)
CIE-LABlab(33.85, 6.02, -37.98)
CIE-LCHlch(33.85, 38.45, 279.01°)
OKLaboklab(43.12% -0.0278 -0.1086)
OKLCHoklch(43.12% 0.112 255.6)
XYZxyz(8.1962, 7.9369, 25.9059)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20508C #8C5C20
analogous
#20868C #20508C #26208C
triadic
#20508C #8C2050 #508C20
tetradic
#20508C #8C2086 #8C5C20 #208C26
square
#20508C #8C2086 #8C5C20 #208C26
split-complementary
#20508C #8C2620 #868C20
monochromatic
#091728 #15345A #20508C #2B6CBE #508CD7

Accessibility & contrast

On white

8.12
#20508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#20508C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20508C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20508C#FFFFFF#000000##FFFFFF
##20508C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #20508c;
/* rgb */ color: rgb(32, 80, 140);
/* oklch */ color: oklch(43.1% 0.112 255.6);
Tailwind
colors: {
  custom: {
    50: '#6c80ae',
    500: '#20508c',
    950: '#000000',
  },
}
SCSS
$custom: #20508c;
$custom-light: #6c80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20508c",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 213.333,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.11209,
    "h": 255.6
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#20508C
secondary
#BA8A4E
accent
#9D42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20508C

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

Preview Lab → · Contrast checker → · Palette generator →

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