#201C9C#201C9C

#201C9C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.194 H 271.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#201C9C
RGBrgb(32, 28, 156)
HSLhsl(242, 70%, 36%)
HSVhsv(242, 82%, 61%)
CMYKcmyk(79.5%, 82.1%, 0%, 38.8%)
CIE-LABlab(22.08, 45.55, -66.99)
CIE-LCHlch(22.08, 81.01, 304.22°)
OKLaboklab(34.82% 0.0048 -0.1939)
OKLCHoklch(34.82% 0.194 271.4)
XYZxyz(7.0096, 3.5371, 31.7593)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C9C #989C1C
analogous
#1C589C #201C9C #601C9C
triadic
#201C9C #9C201C #1C9C20
tetradic
#201C9C #9C1C58 #989C1C #1C9C60
square
#201C9C #9C1C58 #989C1C #1C9C60
split-complementary
#201C9C #9C601C #589C1C
monochromatic
#0B0934 #151368 #201C9C #2B25D0 #5752E0

Accessibility & contrast

On white

12.30
#201C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201C9C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C9C#FFFFFF#000000##FFFFFF
##201C9C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201c9c;
/* rgb */ color: rgb(32, 28, 156);
/* oklch */ color: oklch(34.8% 0.194 271.4);
Tailwind
colors: {
  custom: {
    50: '#745cbb',
    500: '#201c9c',
    950: '#000000',
  },
}
SCSS
$custom: #201c9c;
$custom-light: #745cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#201c9c",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 156
  },
  "hsl": {
    "h": 241.875,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34816,
    "c": 0.19394,
    "h": 271.4
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#201C9C
secondary
#BFC351
accent
#EC3BE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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