#201796#201796

#201796 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.191 H 272.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#201796
RGBrgb(32, 23, 150)
HSLhsl(244, 73%, 34%)
HSVhsv(244, 85%, 59%)
CMYKcmyk(78.7%, 84.7%, 0%, 41.2%)
CIE-LABlab(20.52, 46.04, -65.88)
CIE-LCHlch(20.52, 80.37, 304.95°)
OKLaboklab(33.53% 0.0076 -0.1906)
OKLCHoklch(33.53% 0.191 272.3)
XYZxyz(6.4052, 3.1212, 29.1131)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201796 #8D9617
analogous
#174E96 #201796 #601796
triadic
#201796 #962017 #179620
tetradic
#201796 #96174E #8D9617 #179660
square
#201796 #96174E #8D9617 #179660
split-complementary
#201796 #966017 #4E9617
monochromatic
#09072C #150F61 #201796 #2B1FCB #5045E2

Accessibility & contrast

On white

12.93
#201796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#201796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201796
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201796#FFFFFF#000000##FFFFFF
##2017961.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003799
Deuteranopia (green-blind)
#002B94
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201796;
/* rgb */ color: rgb(32, 23, 150);
/* oklch */ color: oklch(33.5% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#7259b6',
    500: '#201796',
    950: '#000000',
  },
}
SCSS
$custom: #201796;
$custom-light: #7259b6;
$custom-dark: #000000;
JSON
{
  "hex": "#201796",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 244.252,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33526,
    "c": 0.19072,
    "h": 272.3
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#201796
secondary
#BAC345
accent
#F038E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #201796

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

Preview Lab → · Contrast checker → · Palette generator →

#201796 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva