#20208C#20208C

#20208C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.171 H 272.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#20208C
RGBrgb(32, 32, 140)
HSLhsl(240, 63%, 34%)
HSVhsv(240, 77%, 55%)
CMYKcmyk(77.1%, 77.1%, 0%, 45.1%)
CIE-LABlab(20.95, 38.07, -58.95)
CIE-LCHlch(20.95, 70.18, 302.85°)
OKLaboklab(33.48% 0.0069 -0.1706)
OKLCHoklch(33.48% 0.171 272.3)
XYZxyz(5.8442, 3.2329, 25.1219)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20208C #8C8C20
analogous
#20568C #20208C #56208C
triadic
#20208C #8C2020 #208C20
tetradic
#20208C #8C2056 #8C8C20 #208C56
square
#20208C #8C2056 #8C8C20 #208C56
split-complementary
#20208C #8C5620 #568C20
monochromatic
#090928 #15155A #20208C #2B2BBE #5050D7

Accessibility & contrast

On white

12.75
#20208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20208C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20208C#FFFFFF#000000##FFFFFF
##20208C1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#002D8A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #20208c;
/* rgb */ color: rgb(32, 32, 140);
/* oklch */ color: oklch(33.5% 0.171 272.3);
Tailwind
colors: {
  custom: {
    50: '#6f5daf',
    500: '#20208c',
    950: '#000000',
  },
}
SCSS
$custom: #20208c;
$custom-light: #6f5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#20208c",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33481,
    "c": 0.17077,
    "h": 272.3
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#20208C
secondary
#BABA4E
accent
#E642E6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #20208C

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

Preview Lab → · Contrast checker → · Palette generator →

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