#201C81#201C81

#201C81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.161 H 273.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#201C81
RGBrgb(32, 28, 129)
HSLhsl(242, 64%, 31%)
HSVhsv(242, 78%, 51%)
CMYKcmyk(75.2%, 78.3%, 0%, 49.4%)
CIE-LABlab(18.89, 36.59, -55.44)
CIE-LCHlch(18.89, 66.43, 303.42°)
OKLaboklab(31.66% 0.011 -0.1604)
OKLCHoklch(31.66% 0.161 273.9)
XYZxyz(4.9720, 2.7221, 21.0280)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C81 #7D811C
analogous
#1C4A81 #201C81 #521C81
triadic
#201C81 #81201C #1C8120
tetradic
#201C81 #811C4A #7D811C #1C8152
square
#201C81 #811C4A #7D811C #1C8152
split-complementary
#201C81 #81521C #4A811C
monochromatic
#07061C #14114F #201C81 #2C27B3 #4742D6

Accessibility & contrast

On white

13.60
#201C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#201C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C81
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C81#FFFFFF#000000##FFFFFF
##201C811.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201c81;
/* rgb */ color: rgb(32, 28, 129);
/* oklch */ color: oklch(31.7% 0.161 273.9);
Tailwind
colors: {
  custom: {
    50: '#6d5aa7',
    500: '#201c81',
    950: '#000000',
  },
}
SCSS
$custom: #201c81;
$custom-light: #6d5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#201c81",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 242.376,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31659,
    "c": 0.16076,
    "h": 273.9
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#201C81
secondary
#B0B444
accent
#E740E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #201C81

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

Preview Lab → · Contrast checker → · Palette generator →

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