#201D9D#201D9D

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

Color values

HEX#201D9D
RGBrgb(32, 29, 157)
HSLhsl(241, 69%, 36%)
HSVhsv(241, 82%, 62%)
CMYKcmyk(79.6%, 81.5%, 0%, 38.4%)
CIE-LABlab(22.37, 45.37, -67.11)
CIE-LCHlch(22.37, 81.01, 304.06°)
OKLaboklab(35.06% 0.0043 -0.1943)
OKLCHoklch(35.06% 0.194 271.3)
XYZxyz(7.1188, 3.6193, 32.2152)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D9D #9A9D1D
analogous
#1D5A9D #201D9D #601D9D
triadic
#201D9D #9D201D #1D9D20
tetradic
#201D9D #9D1D5A #9A9D1D #1D9D60
square
#201D9D #9D1D5A #9A9D1D #1D9D60
split-complementary
#201D9D #9D601D #5A9D1D
monochromatic
#0B0A36 #151369 #201D9D #2B27D1 #5855E0

Accessibility & contrast

On white

12.18
#201D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D9D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D9D#FFFFFF#000000##FFFFFF
##201D9D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201d9d;
/* rgb */ color: rgb(32, 29, 157);
/* oklch */ color: oklch(35.1% 0.194 271.3);
Tailwind
colors: {
  custom: {
    50: '#745cbb',
    500: '#201d9d',
    950: '#000000',
  },
}
SCSS
$custom: #201d9d;
$custom-light: #745cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#201d9d",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 241.406,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35055,
    "c": 0.19432,
    "h": 271.3
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#201D9D
secondary
#C0C353
accent
#EC3CE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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