#20199F#20199F

#20199F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.200 H 271.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#20199F
RGBrgb(32, 25, 159)
HSLhsl(243, 73%, 36%)
HSVhsv(243, 84%, 62%)
CMYKcmyk(79.9%, 84.3%, 0%, 37.6%)
CIE-LABlab(21.96, 47.93, -69.02)
CIE-LCHlch(21.96, 84.02, 304.78°)
OKLaboklab(34.84% 0.0049 -0.1997)
OKLCHoklch(34.84% 0.2 271.4)
XYZxyz(7.1992, 3.5047, 33.0912)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20199F #989F19
analogous
#19559F #20199F #63199F
triadic
#20199F #9F2019 #199F20
tetradic
#20199F #9F1955 #989F19 #199F63
square
#20199F #9F1955 #989F19 #199F63
split-complementary
#20199F #9F6319 #559F19
monochromatic
#0B0835 #15116A #20199F #2B21D4 #574FE3

Accessibility & contrast

On white

12.34
#20199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#20199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20199F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20199F#FFFFFF#000000##FFFFFF
##20199F1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #20199f;
/* rgb */ color: rgb(32, 25, 159);
/* oklch */ color: oklch(34.8% 0.200 271.4);
Tailwind
colors: {
  custom: {
    50: '#755abd',
    500: '#20199f',
    950: '#000000',
  },
}
SCSS
$custom: #20199f;
$custom-light: #755abd;
$custom-dark: #000000;
JSON
{
  "hex": "#20199f",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 243.134,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34842,
    "c": 0.19976,
    "h": 271.4
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#20199F
secondary
#BFC64E
accent
#F038E6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #20199F

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

Preview Lab → · Contrast checker → · Palette generator →

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