#20508E#20508E

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

Color values

HEX#20508E
RGBrgb(32, 80, 142)
HSLhsl(214, 63%, 34%)
HSVhsv(214, 77%, 56%)
CMYKcmyk(77.5%, 43.7%, 0%, 44.3%)
CIE-LABlab(33.98, 6.82, -39.00)
CIE-LCHlch(33.98, 39.59, 279.91°)
OKLaboklab(43.26% -0.0274 -0.1116)
OKLCHoklch(43.26% 0.115 256.2)
XYZxyz(8.3450, 7.9964, 26.6896)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20508E #8E5E20
analogous
#20878E #20508E #27208E
triadic
#20508E #8E2050 #508E20
tetradic
#20508E #8E2087 #8E5E20 #208E27
square
#20508E #8E2087 #8E5E20 #208E27
split-complementary
#20508E #8E2720 #878E20
monochromatic
#09182A #15345C #20508E #2B6CC0 #518CD8

Accessibility & contrast

On white

8.08
#20508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#20508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20508E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20508E#FFFFFF#000000##FFFFFF
##20508E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #20508e;
/* rgb */ color: rgb(32, 80, 142);
/* oklch */ color: oklch(43.3% 0.115 256.2);
Tailwind
colors: {
  custom: {
    50: '#6c80af',
    500: '#20508e',
    950: '#000000',
  },
}
SCSS
$custom: #20508e;
$custom-light: #6c80af;
$custom-dark: #000000;
JSON
{
  "hex": "#20508e",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 213.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.1149,
    "h": 256.2
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20508E

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

Preview Lab → · Contrast checker → · Palette generator →

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