#201996#201996

#201996 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.189 H 272.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#201996
RGBrgb(32, 25, 150)
HSLhsl(243, 71%, 34%)
HSVhsv(243, 83%, 59%)
CMYKcmyk(78.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(20.84, 45.11, -65.35)
CIE-LCHlch(20.84, 79.40, 304.62°)
OKLaboklab(33.75% 0.0071 -0.1891)
OKLCHoklch(33.75% 0.189 272.1)
XYZxyz(6.4465, 3.2036, 29.1269)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201996 #8F9619
analogous
#195196 #201996 #5F1996
triadic
#201996 #962019 #199620
tetradic
#201996 #961951 #8F9619 #19965F
square
#201996 #961951 #8F9619 #19965F
split-complementary
#201996 #965F19 #519619
monochromatic
#0A082D #151062 #201996 #2B22CA #5149E1

Accessibility & contrast

On white

12.80
#201996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#201996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201996
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201996#FFFFFF#000000##FFFFFF
##2019961.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002C94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #201996;
/* rgb */ color: rgb(32, 25, 150);
/* oklch */ color: oklch(33.7% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#725ab6',
    500: '#201996',
    950: '#000000',
  },
}
SCSS
$custom: #201996;
$custom-light: #725ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#201996",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 243.36,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33747,
    "c": 0.18921,
    "h": 272.1
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#201996
secondary
#BBC249
accent
#EE3AE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201996

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

Preview Lab → · Contrast checker → · Palette generator →

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