#20207A#20207A

#20207A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.147 H 274.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#20207A
RGBrgb(32, 32, 122)
HSLhsl(240, 58%, 30%)
HSVhsv(240, 74%, 48%)
CMYKcmyk(73.8%, 73.8%, 0%, 52.2%)
CIE-LABlab(18.99, 31.70, -50.83)
CIE-LCHlch(18.99, 59.91, 301.95°)
OKLaboklab(31.5% 0.0102 -0.147)
OKLCHoklch(31.5% 0.147 274)
XYZxyz(4.6239, 2.7448, 18.6947)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20207A #7A7A20
analogous
#204D7A #20207A #4D207A
triadic
#20207A #7A2020 #207A20
tetradic
#20207A #7A204D #7A7A20 #207A4D
square
#20207A #7A204D #7A7A20 #207A4D
split-complementary
#20207A #7A4D20 #4D7A20
monochromatic
#070719 #13134A #20207A #2D2DAA #4646CE

Accessibility & contrast

On white

13.56
#20207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#20207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20207A
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20207A#FFFFFF#000000##FFFFFF
##20207A1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20207a;
/* rgb */ color: rgb(32, 32, 122);
/* oklch */ color: oklch(31.5% 0.147 274.0);
Tailwind
colors: {
  custom: {
    50: '#6a5ca1',
    500: '#20207a',
    950: '#000000',
  },
}
SCSS
$custom: #20207a;
$custom-light: #6a5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#20207a",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31499,
    "c": 0.14733,
    "h": 274
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#20207A
secondary
#ADAD49
accent
#E246E2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #20207A

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

Preview Lab → · Contrast checker → · Palette generator →

#20207A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva