#20196E#20196E

#20196E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.139 H 277.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#20196E
RGBrgb(32, 25, 110)
HSLhsl(245, 63%, 26%)
HSVhsv(245, 77%, 43%)
CMYKcmyk(70.9%, 77.3%, 0%, 56.9%)
CIE-LABlab(16.14, 31.77, -47.78)
CIE-LCHlch(16.14, 57.38, 303.62°)
OKLaboklab(29.08% 0.0169 -0.1381)
OKLCHoklch(29.08% 0.139 277)
XYZxyz(3.7569, 2.1278, 14.9616)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20196E #676E19
analogous
#193D6E #20196E #4B196E
triadic
#20196E #6E2019 #196E20
tetradic
#20196E #6E193D #676E19 #196E4B
square
#20196E #6E193D #676E19 #196E4B
split-complementary
#20196E #6E4B19 #3D6E19
monochromatic
#070619 #110E3C #20196E #2F24A0 #3E31D0

Accessibility & contrast

On white

14.73
#20196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#20196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20196E
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20196E#FFFFFF#000000##FFFFFF
##20196E1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #20196e;
/* rgb */ color: rgb(32, 25, 110);
/* oklch */ color: oklch(29.1% 0.139 277.0);
Tailwind
colors: {
  custom: {
    50: '#685799',
    500: '#20196e',
    950: '#000000',
  },
}
SCSS
$custom: #20196e;
$custom-light: #685799;
$custom-dark: #000000;
JSON
{
  "hex": "#20196e",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 244.941,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29082,
    "c": 0.13909,
    "h": 277
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#20196E
secondary
#9BA33F
accent
#E642D8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #20196E

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

Preview Lab → · Contrast checker → · Palette generator →

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