#20508A#20508A

#20508A is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.109 H 255.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#20508A
RGBrgb(32, 80, 138)
HSLhsl(213, 62%, 33%)
HSVhsv(213, 77%, 54%)
CMYKcmyk(76.8%, 42%, 0%, 45.9%)
CIE-LABlab(33.73, 5.23, -36.95)
CIE-LCHlch(33.73, 37.32, 278.06°)
OKLaboklab(42.99% -0.0283 -0.1056)
OKLCHoklch(42.99% 0.109 255)
XYZxyz(8.0501, 7.8785, 25.1363)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20508A #8A5A20
analogous
#20858A #20508A #25208A
triadic
#20508A #8A2050 #508A20
tetradic
#20508A #8A2085 #8A5A20 #208A25
square
#20508A #8A2085 #8A5A20 #208A25
split-complementary
#20508A #8A2520 #858A20
monochromatic
#091627 #143358 #20508A #2C6DBC #4E8CD6

Accessibility & contrast

On white

8.15
#20508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#20508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20508A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20508A#FFFFFF#000000##FFFFFF
##20508A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558C
Deuteranopia (green-blind)
#234B89
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #20508a;
/* rgb */ color: rgb(32, 80, 138);
/* oklch */ color: oklch(43.0% 0.109 255.0);
Tailwind
colors: {
  custom: {
    50: '#6b80ac',
    500: '#20508a',
    950: '#000000',
  },
}
SCSS
$custom: #20508a;
$custom-light: #6b80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#20508a",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 212.83,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42989,
    "c": 0.10929,
    "h": 255
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#20508A
secondary
#B9884D
accent
#9C42E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20508A

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

Preview Lab → · Contrast checker → · Palette generator →

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