#20208F#20208F

#20208F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.175 H 272.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#20208F
RGBrgb(32, 32, 143)
HSLhsl(240, 63%, 34%)
HSVhsv(240, 78%, 56%)
CMYKcmyk(77.6%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.29, 39.10, -60.26)
CIE-LCHlch(21.29, 71.83, 302.98°)
OKLaboklab(33.82% 0.0063 -0.1744)
OKLCHoklch(33.82% 0.175 272.1)
XYZxyz(6.0684, 3.3226, 26.3028)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20208F #8F8F20
analogous
#20588F #20208F #58208F
triadic
#20208F #8F2020 #208F20
tetradic
#20208F #8F2058 #8F8F20 #208F58
square
#20208F #8F2058 #8F8F20 #208F58
split-complementary
#20208F #8F5820 #588F20
monochromatic
#0A0A2B #15155D #20208F #2B2BC1 #5151D8

Accessibility & contrast

On white

12.62
#20208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#20208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20208F
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20208F#FFFFFF#000000##FFFFFF
##20208F1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #20208f;
/* rgb */ color: rgb(32, 32, 143);
/* oklch */ color: oklch(33.8% 0.175 272.1);
Tailwind
colors: {
  custom: {
    50: '#705db1',
    500: '#20208f',
    950: '#000000',
  },
}
SCSS
$custom: #20208f;
$custom-light: #705db1;
$custom-dark: #000000;
JSON
{
  "hex": "#20208f",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33821,
    "c": 0.17455,
    "h": 272.1
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#20208F
secondary
#BBBB4F
accent
#E641E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #20208F

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

Preview Lab → · Contrast checker → · Palette generator →

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