#20507B#20507B

#20507B is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.089 H 248.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#20507B
RGBrgb(32, 80, 123)
HSLhsl(208, 59%, 30%)
HSVhsv(208, 74%, 48%)
CMYKcmyk(74%, 35%, 0%, 51.8%)
CIE-LABlab(32.86, -0.65, -29.08)
CIE-LCHlch(32.86, 29.08, 268.72°)
OKLaboklab(42.03% -0.0323 -0.0825)
OKLCHoklch(42.03% 0.089 248.6)
XYZxyz(7.0381, 7.4737, 19.8067)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20507B #7B4B20
analogous
#207B79 #20507B #20227B
triadic
#20507B #7B2050 #507B20
tetradic
#20507B #79207B #7B4B20 #227B20
square
#20507B #79207B #7B4B20 #227B20
split-complementary
#20507B #7B2022 #7B7920
monochromatic
#07111A #13304A #20507B #2D70AC #468ECF

Accessibility & contrast

On white

8.42
#20507B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#20507B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20507B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20507B#FFFFFF#000000##FFFFFF
##20507B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20507b;
/* rgb */ color: rgb(32, 80, 123);
/* oklch */ color: oklch(42.0% 0.089 248.6);
Tailwind
colors: {
  custom: {
    50: '#6880a1',
    500: '#20507b',
    950: '#000000',
  },
}
SCSS
$custom: #20507b;
$custom-light: #6880a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20507b",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 208.352,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.08861,
    "h": 248.6
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#20507B
secondary
#AE7949
accent
#9046E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #20507B

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

Preview Lab → · Contrast checker → · Palette generator →

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