#201C9E#201C9E

#201C9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.196 H 271.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#201C9E
RGBrgb(32, 28, 158)
HSLhsl(242, 70%, 36%)
HSVhsv(242, 82%, 62%)
CMYKcmyk(79.7%, 82.3%, 0%, 38%)
CIE-LABlab(22.32, 46.19, -67.81)
CIE-LCHlch(22.32, 82.04, 304.26°)
OKLaboklab(35.06% 0.0044 -0.1963)
OKLCHoklch(35.06% 0.196 271.3)
XYZxyz(7.1804, 3.6054, 32.6586)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C9E #9A9E1C
analogous
#1C599E #201C9E #611C9E
triadic
#201C9E #9E201C #1C9E20
tetradic
#201C9E #9E1C59 #9A9E1C #1C9E61
square
#201C9E #9E1C59 #9A9E1C #1C9E61
split-complementary
#201C9E #9E611C #599E1C
monochromatic
#0B0A36 #15136A #201C9E #2B25D2 #5854E1

Accessibility & contrast

On white

12.20
#201C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#201C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C9E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C9E#FFFFFF#000000##FFFFFF
##201C9E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #201c9e;
/* rgb */ color: rgb(32, 28, 158);
/* oklch */ color: oklch(35.1% 0.196 271.3);
Tailwind
colors: {
  custom: {
    50: '#745cbc',
    500: '#201c9e',
    950: '#000000',
  },
}
SCSS
$custom: #201c9e;
$custom-light: #745cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#201c9e",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 241.846,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35056,
    "c": 0.19631,
    "h": 271.3
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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