#20508F#20508F

#20508F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.3% C 0.116 H 256.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#20508F
RGBrgb(32, 80, 143)
HSLhsl(214, 63%, 34%)
HSVhsv(214, 78%, 56%)
CMYKcmyk(77.6%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.04, 7.21, -39.51)
CIE-LCHlch(34.04, 40.17, 280.35°)
OKLaboklab(43.33% -0.0271 -0.1131)
OKLCHoklch(43.33% 0.116 256.5)
XYZxyz(8.4204, 8.0266, 27.0868)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20508F #8F5F20
analogous
#20888F #20508F #27208F
triadic
#20508F #8F2050 #508F20
tetradic
#20508F #8F2088 #8F5F20 #208F27
square
#20508F #8F2088 #8F5F20 #208F27
split-complementary
#20508F #8F2720 #888F20
monochromatic
#0A182B #15345D #20508F #2B6CC1 #518CD8

Accessibility & contrast

On white

8.06
#20508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#20508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20508F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20508F#FFFFFF#000000##FFFFFF
##20508F1.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)
#315691
Deuteranopia (green-blind)
#1C4B8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #20508f;
/* rgb */ color: rgb(32, 80, 143);
/* oklch */ color: oklch(43.3% 0.116 256.5);
Tailwind
colors: {
  custom: {
    50: '#6c80b0',
    500: '#20508f',
    950: '#000000',
  },
}
SCSS
$custom: #20508f;
$custom-light: #6c80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20508f",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 214.054,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4333,
    "c": 0.1163,
    "h": 256.5
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#20508F
secondary
#BB8D4F
accent
#9F41E6
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #20508F

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

Preview Lab → · Contrast checker → · Palette generator →

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