#20507F#20507F

#20507F is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.094 H 250.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#20507F
RGBrgb(32, 80, 127)
HSLhsl(210, 60%, 31%)
HSVhsv(210, 75%, 50%)
CMYKcmyk(74.8%, 37%, 0%, 50.2%)
CIE-LABlab(33.08, 0.91, -31.21)
CIE-LCHlch(33.08, 31.22, 271.67°)
OKLaboklab(42.28% -0.0311 -0.0887)
OKLCHoklch(42.28% 0.094 250.7)
XYZxyz(7.2937, 7.5759, 21.1525)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20507F #7F4F20
analogous
#207F7E #20507F #20217F
triadic
#20507F #7F2050 #507F20
tetradic
#20507F #7E207F #7F4F20 #217F20
square
#20507F #7E207F #7F4F20 #217F20
split-complementary
#20507F #7F2021 #7F7E20
monochromatic
#07121D #14314E #20507F #2C6FB0 #488DD1

Accessibility & contrast

On white

8.35
#20507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#20507F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20507F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20507F#FFFFFF#000000##FFFFFF
##20507F1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20507f;
/* rgb */ color: rgb(32, 80, 127);
/* oklch */ color: oklch(42.3% 0.094 250.7);
Tailwind
colors: {
  custom: {
    50: '#6980a4',
    500: '#20507f',
    950: '#000000',
  },
}
SCSS
$custom: #20507f;
$custom-light: #6980a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20507f",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 209.684,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.09403,
    "h": 250.7
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#20507F
secondary
#B27D49
accent
#9345E3
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #20507F

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

Preview Lab → · Contrast checker → · Palette generator →

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