#20196A#20196A

#20196A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.134 H 277.6°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#20196A
RGBrgb(32, 25, 106)
HSLhsl(245, 62%, 26%)
HSVhsv(245, 76%, 42%)
CMYKcmyk(69.8%, 76.4%, 0%, 58.4%)
CIE-LABlab(15.71, 30.36, -45.89)
CIE-LCHlch(15.71, 55.02, 303.49°)
OKLaboklab(28.64% 0.0178 -0.1325)
OKLCHoklch(28.64% 0.134 277.6)
XYZxyz(3.5440, 2.0426, 13.8404)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20196A #636A19
analogous
#193A6A #20196A #48196A
triadic
#20196A #6A2019 #196A20
tetradic
#20196A #6A193A #636A19 #196A48
square
#20196A #6A193A #636A19 #196A48
split-complementary
#20196A #6A4819 #3A6A19
monochromatic
#070619 #110D38 #20196A #2F259C #3E30CD

Accessibility & contrast

On white

14.91
#20196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#20196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20196A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20196A#FFFFFF#000000##FFFFFF
##20196A1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #20196a;
/* rgb */ color: rgb(32, 25, 106);
/* oklch */ color: oklch(28.6% 0.134 277.6);
Tailwind
colors: {
  custom: {
    50: '#675796',
    500: '#20196a',
    950: '#000000',
  },
}
SCSS
$custom: #20196a;
$custom-light: #675796;
$custom-dark: #000000;
JSON
{
  "hex": "#20196a",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 245.185,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28643,
    "c": 0.13371,
    "h": 277.6
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#20196A
secondary
#97A03F
accent
#E543D7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #20196A

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

Preview Lab → · Contrast checker → · Palette generator →

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