#20208D#20208D

#20208D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.172 H 272.2°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#20208D
RGBrgb(32, 32, 141)
HSLhsl(240, 63%, 34%)
HSVhsv(240, 77%, 55%)
CMYKcmyk(77.3%, 77.3%, 0%, 44.7%)
CIE-LABlab(21.07, 38.41, -59.39)
CIE-LCHlch(21.07, 70.73, 302.89°)
OKLaboklab(33.59% 0.0067 -0.1719)
OKLCHoklch(33.59% 0.172 272.2)
XYZxyz(5.9183, 3.2626, 25.5120)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20208D #8D8D20
analogous
#20578D #20208D #57208D
triadic
#20208D #8D2020 #208D20
tetradic
#20208D #8D2057 #8D8D20 #208D57
square
#20208D #8D2057 #8D8D20 #208D57
split-complementary
#20208D #8D5720 #578D20
monochromatic
#090929 #15155B #20208D #2B2BBF #5050D7

Accessibility & contrast

On white

12.71
#20208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#20208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20208D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20208D#FFFFFF#000000##FFFFFF
##20208D1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #20208d;
/* rgb */ color: rgb(32, 32, 141);
/* oklch */ color: oklch(33.6% 0.172 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f5db0',
    500: '#20208d',
    950: '#000000',
  },
}
SCSS
$custom: #20208d;
$custom-light: #6f5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#20208d",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33594,
    "c": 0.17204,
    "h": 272.2
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#20208D
secondary
#BABA4E
accent
#E642E6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #20208D

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

Preview Lab → · Contrast checker → · Palette generator →

#20208D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva