#201D8D#201D8D

#201D8D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.175 H 272.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#201D8D
RGBrgb(32, 29, 141)
HSLhsl(242, 66%, 33%)
HSVhsv(242, 79%, 55%)
CMYKcmyk(77.3%, 79.4%, 0%, 44.7%)
CIE-LABlab(20.47, 40.10, -60.37)
CIE-LCHlch(20.47, 72.48, 303.59°)
OKLaboklab(33.18% 0.0079 -0.1747)
OKLCHoklch(33.18% 0.175 272.6)
XYZxyz(5.8411, 3.1083, 25.4863)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D8D #8A8D1D
analogous
#1D528D #201D8D #581D8D
triadic
#201D8D #8D201D #1D8D20
tetradic
#201D8D #8D1D52 #8A8D1D #1D8D58
square
#201D8D #8D1D52 #8A8D1D #1D8D58
split-complementary
#201D8D #8D581D #528D1D
monochromatic
#090827 #14135A #201D8D #2C27C0 #4E4BDA

Accessibility & contrast

On white

12.95
#201D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#201D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D8D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D8D#FFFFFF#000000##FFFFFF
##201D8D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201d8d;
/* rgb */ color: rgb(32, 29, 141);
/* oklch */ color: oklch(33.2% 0.175 272.6);
Tailwind
colors: {
  custom: {
    50: '#705bb0',
    500: '#201d8d',
    950: '#000000',
  },
}
SCSS
$custom: #201d8d;
$custom-light: #705bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#201d8d",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 241.607,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33176,
    "c": 0.17491,
    "h": 272.6
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#201D8D
secondary
#B9BC4A
accent
#E93FE4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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