#201D9C#201D9C

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

Color values

HEX#201D9C
RGBrgb(32, 29, 156)
HSLhsl(241, 69%, 36%)
HSVhsv(241, 81%, 61%)
CMYKcmyk(79.5%, 81.4%, 0%, 38.8%)
CIE-LABlab(22.25, 45.05, -66.70)
CIE-LCHlch(22.25, 80.49, 304.03°)
OKLaboklab(34.94% 0.0046 -0.1931)
OKLCHoklch(34.94% 0.193 271.4)
XYZxyz(7.0338, 3.5853, 31.7674)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D9C #999C1D
analogous
#1D5A9C #201D9C #601D9C
triadic
#201D9C #9C201D #1D9C20
tetradic
#201D9C #9C1D5A #999C1D #1D9C60
square
#201D9C #9C1D5A #999C1D #1D9C60
split-complementary
#201D9C #9C601D #5A9C1D
monochromatic
#0B0A35 #151368 #201D9C #2B27D0 #5754DF

Accessibility & contrast

On white

12.23
#201D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D9C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D9C#FFFFFF#000000##FFFFFF
##201D9C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201d9c;
/* rgb */ color: rgb(32, 29, 156);
/* oklch */ color: oklch(34.9% 0.193 271.4);
Tailwind
colors: {
  custom: {
    50: '#735cbb',
    500: '#201d9c',
    950: '#000000',
  },
}
SCSS
$custom: #201d9c;
$custom-light: #735cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#201d9c",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 241.417,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34936,
    "c": 0.19312,
    "h": 271.4
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#201D9C
secondary
#C0C252
accent
#EB3CE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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