#20199C#20199C

#20199C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.196 H 271.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#20199C
RGBrgb(32, 25, 156)
HSLhsl(243, 72%, 35%)
HSVhsv(243, 84%, 61%)
CMYKcmyk(79.5%, 84%, 0%, 38.8%)
CIE-LABlab(21.59, 46.99, -67.80)
CIE-LCHlch(21.59, 82.49, 304.72°)
OKLaboklab(34.48% 0.0056 -0.1962)
OKLCHoklch(34.48% 0.196 271.6)
XYZxyz(6.9420, 3.4019, 31.7368)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20199C #959C19
analogous
#19539C #20199C #61199C
triadic
#20199C #9C2019 #199C20
tetradic
#20199C #9C1953 #959C19 #199C61
square
#20199C #9C1953 #959C19 #199C61
split-complementary
#20199C #9C6119 #539C19
monochromatic
#0A0833 #151167 #20199C #2B21D1 #554DE2

Accessibility & contrast

On white

12.50
#20199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#20199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20199C
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20199C#FFFFFF#000000##FFFFFF
##20199C1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002D9A
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #20199c;
/* rgb */ color: rgb(32, 25, 156);
/* oklch */ color: oklch(34.5% 0.196 271.6);
Tailwind
colors: {
  custom: {
    50: '#745abb',
    500: '#20199c',
    950: '#000000',
  },
}
SCSS
$custom: #20199c;
$custom-light: #745abb;
$custom-dark: #000000;
JSON
{
  "hex": "#20199c",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 243.206,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34476,
    "c": 0.19627,
    "h": 271.6
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#20199C
secondary
#BEC44C
accent
#EF39E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #20199C

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

Preview Lab → · Contrast checker → · Palette generator →

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