#20507E#20507E

#20507E is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.093 H 250.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#20507E
RGBrgb(32, 80, 126)
HSLhsl(209, 59%, 31%)
HSVhsv(209, 75%, 49%)
CMYKcmyk(74.6%, 36.5%, 0%, 50.6%)
CIE-LABlab(33.03, 0.52, -30.68)
CIE-LCHlch(33.03, 30.68, 270.96°)
OKLaboklab(42.21% -0.0314 -0.0872)
OKLCHoklch(42.21% 0.093 250.2)
XYZxyz(7.2288, 7.5500, 20.8109)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20507E #7E4E20
analogous
#207E7D #20507E #20217E
triadic
#20507E #7E2050 #507E20
tetradic
#20507E #7D207E #7E4E20 #217E20
square
#20507E #7D207E #7E4E20 #217E20
split-complementary
#20507E #7E2021 #7E7D20
monochromatic
#07121C #14314D #20507E #2C6FAF #488ED0

Accessibility & contrast

On white

8.37
#20507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#20507E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20507E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20507E#FFFFFF#000000##FFFFFF
##20507E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #20507e;
/* rgb */ color: rgb(32, 80, 126);
/* oklch */ color: oklch(42.2% 0.093 250.2);
Tailwind
colors: {
  custom: {
    50: '#6980a3',
    500: '#20507e',
    950: '#000000',
  },
}
SCSS
$custom: #20507e;
$custom-light: #6980a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20507e",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 209.362,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.09267,
    "h": 250.2
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#20507E
secondary
#B17C49
accent
#9245E3
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #20507E

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

Preview Lab → · Contrast checker → · Palette generator →

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