#201C9D#201C9D

#201C9D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.195 H 271.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#201C9D
RGBrgb(32, 28, 157)
HSLhsl(242, 70%, 36%)
HSVhsv(242, 82%, 62%)
CMYKcmyk(79.6%, 82.2%, 0%, 38.4%)
CIE-LABlab(22.20, 45.87, -67.40)
CIE-LCHlch(22.20, 81.53, 304.24°)
OKLaboklab(34.94% 0.0046 -0.1951)
OKLCHoklch(34.94% 0.195 271.4)
XYZxyz(7.0947, 3.5711, 32.2071)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C9D #999D1C
analogous
#1C599D #201C9D #611C9D
triadic
#201C9D #9D201C #1C9D20
tetradic
#201C9D #9D1C59 #999D1C #1C9D61
square
#201C9D #9D1C59 #999D1C #1C9D61
split-complementary
#201C9D #9D611C #599D1C
monochromatic
#0B0935 #151369 #201C9D #2B25D1 #5753E0

Accessibility & contrast

On white

12.25
#201C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#201C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C9D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C9D#FFFFFF#000000##FFFFFF
##201C9D1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #201c9d;
/* rgb */ color: rgb(32, 28, 157);
/* oklch */ color: oklch(34.9% 0.195 271.4);
Tailwind
colors: {
  custom: {
    50: '#745cbb',
    500: '#201c9d',
    950: '#000000',
  },
}
SCSS
$custom: #201c9d;
$custom-light: #745cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#201c9d",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 241.86,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34936,
    "c": 0.19512,
    "h": 271.4
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#201C9D
secondary
#C0C351
accent
#ED3BE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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