#201C97#201C97

#201C97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.188 H 271.8°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#201C97
RGBrgb(32, 28, 151)
HSLhsl(242, 69%, 35%)
HSVhsv(242, 81%, 59%)
CMYKcmyk(78.8%, 81.5%, 0%, 40.8%)
CIE-LABlab(21.47, 43.94, -64.92)
CIE-LCHlch(21.47, 78.39, 304.09°)
OKLaboklab(34.22% 0.006 -0.1879)
OKLCHoklch(34.22% 0.188 271.8)
XYZxyz(6.5950, 3.3712, 29.5753)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C97 #93971C
analogous
#1C5697 #201C97 #5D1C97
triadic
#201C97 #97201C #1C9720
tetradic
#201C97 #971C56 #93971C #1C975D
square
#201C97 #971C56 #93971C #1C975D
split-complementary
#201C97 #975D1C #56971C
monochromatic
#0A0930 #151263 #201C97 #2B26CB #544FDE

Accessibility & contrast

On white

12.54
#201C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#201C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C97
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C97#FFFFFF#000000##FFFFFF
##201C971.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #201c97;
/* rgb */ color: rgb(32, 28, 151);
/* oklch */ color: oklch(34.2% 0.188 271.8);
Tailwind
colors: {
  custom: {
    50: '#725bb7',
    500: '#201c97',
    950: '#000000',
  },
}
SCSS
$custom: #201c97;
$custom-light: #725bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#201c97",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 241.951,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34221,
    "c": 0.18798,
    "h": 271.8
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#201C97
secondary
#BDC14E
accent
#EC3CE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201C97

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

Preview Lab → · Contrast checker → · Palette generator →

#201C97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva