#20508D#20508D

#20508D is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.113 H 255.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#20508D
RGBrgb(32, 80, 141)
HSLhsl(214, 63%, 34%)
HSVhsv(214, 77%, 55%)
CMYKcmyk(77.3%, 43.3%, 0%, 44.7%)
CIE-LABlab(33.91, 6.42, -38.49)
CIE-LCHlch(33.91, 39.02, 279.47°)
OKLaboklab(43.19% -0.0276 -0.1101)
OKLCHoklch(43.19% 0.113 255.9)
XYZxyz(8.2703, 7.9665, 26.2960)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20508D #8D5D20
analogous
#20878D #20508D #27208D
triadic
#20508D #8D2050 #508D20
tetradic
#20508D #8D2087 #8D5D20 #208D27
square
#20508D #8D2087 #8D5D20 #208D27
split-complementary
#20508D #8D2720 #878D20
monochromatic
#091729 #15345B #20508D #2B6CBF #508CD7

Accessibility & contrast

On white

8.10
#20508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20508D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20508D#FFFFFF#000000##FFFFFF
##20508D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #20508d;
/* rgb */ color: rgb(32, 80, 141);
/* oklch */ color: oklch(43.2% 0.113 255.9);
Tailwind
colors: {
  custom: {
    50: '#6c80af',
    500: '#20508d',
    950: '#000000',
  },
}
SCSS
$custom: #20508d;
$custom-light: #6c80af;
$custom-dark: #000000;
JSON
{
  "hex": "#20508d",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 213.578,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43192,
    "c": 0.11349,
    "h": 255.9
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#20508D
secondary
#BA8B4E
accent
#9E42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20508D

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

Preview Lab → · Contrast checker → · Palette generator →

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