#20208A#20208A

#20208A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.168 H 272.5°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#20208A
RGBrgb(32, 32, 138)
HSLhsl(240, 62%, 33%)
HSVhsv(240, 77%, 54%)
CMYKcmyk(76.8%, 76.8%, 0%, 45.9%)
CIE-LABlab(20.73, 37.37, -58.07)
CIE-LCHlch(20.73, 69.06, 302.76°)
OKLaboklab(33.26% 0.0073 -0.1681)
OKLCHoklch(33.26% 0.168 272.5)
XYZxyz(5.6981, 3.1745, 24.3523)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20208A #8A8A20
analogous
#20558A #20208A #55208A
triadic
#20208A #8A2020 #208A20
tetradic
#20208A #8A2055 #8A8A20 #208A55
square
#20208A #8A2055 #8A8A20 #208A55
split-complementary
#20208A #8A5520 #558A20
monochromatic
#090927 #141458 #20208A #2C2CBC #4E4ED6

Accessibility & contrast

On white

12.84
#20208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#20208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20208A
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20208A#FFFFFF#000000##FFFFFF
##20208A1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002D88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #20208a;
/* rgb */ color: rgb(32, 32, 138);
/* oklch */ color: oklch(33.3% 0.168 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e5dad',
    500: '#20208a',
    950: '#000000',
  },
}
SCSS
$custom: #20208a;
$custom-light: #6e5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#20208a",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33256,
    "c": 0.16824,
    "h": 272.5
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#20208A
secondary
#B9B94D
accent
#E542E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #20208A

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

Preview Lab → · Contrast checker → · Palette generator →

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