#20508B#20508B

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

Color values

HEX#20508B
RGBrgb(32, 80, 139)
HSLhsl(213, 63%, 34%)
HSVhsv(213, 77%, 55%)
CMYKcmyk(77%, 42.4%, 0%, 45.5%)
CIE-LABlab(33.79, 5.63, -37.47)
CIE-LCHlch(33.79, 37.89, 278.54°)
OKLaboklab(43.06% -0.028 -0.1071)
OKLCHoklch(43.06% 0.111 255.3)
XYZxyz(8.1228, 7.9076, 25.5193)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20508B #8B5B20
analogous
#20858B #20508B #25208B
triadic
#20508B #8B2050 #508B20
tetradic
#20508B #8B2085 #8B5B20 #208B25
square
#20508B #8B2085 #8B5B20 #208B25
split-complementary
#20508B #8B2520 #858B20
monochromatic
#091728 #153359 #20508B #2B6DBD #4F8CD6

Accessibility & contrast

On white

8.13
#20508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20508B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20508B#FFFFFF#000000##FFFFFF
##20508B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #20508b;
/* rgb */ color: rgb(32, 80, 139);
/* oklch */ color: oklch(43.1% 0.111 255.3);
Tailwind
colors: {
  custom: {
    50: '#6b80ad',
    500: '#20508b',
    950: '#000000',
  },
}
SCSS
$custom: #20508b;
$custom-light: #6b80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20508b",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 213.084,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.11069,
    "h": 255.3
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#20508B
secondary
#BA894D
accent
#9C42E6
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #20508B

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

Preview Lab → · Contrast checker → · Palette generator →

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