#201D8C#201D8C

#201D8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.174 H 272.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#201D8C
RGBrgb(32, 29, 140)
HSLhsl(242, 66%, 33%)
HSVhsv(242, 79%, 55%)
CMYKcmyk(77.1%, 79.3%, 0%, 45.1%)
CIE-LABlab(20.36, 39.77, -59.94)
CIE-LCHlch(20.36, 71.94, 303.56°)
OKLaboklab(33.06% 0.0081 -0.1735)
OKLCHoklch(33.06% 0.174 272.7)
XYZxyz(5.7671, 3.0786, 25.0962)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D8C #898C1D
analogous
#1D518C #201D8C #581D8C
triadic
#201D8C #8C201D #1D8C20
tetradic
#201D8C #8C1D51 #898C1D #1D8C58
square
#201D8C #8C1D51 #898C1D #1D8C58
split-complementary
#201D8C #8C581D #518C1D
monochromatic
#090827 #141259 #201D8C #2C28BF #4E4AD9

Accessibility & contrast

On white

13.00
#201D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D8C
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D8C#FFFFFF#000000##FFFFFF
##201D8C1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201d8c;
/* rgb */ color: rgb(32, 29, 140);
/* oklch */ color: oklch(33.1% 0.174 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f5baf',
    500: '#201d8c',
    950: '#000000',
  },
}
SCSS
$custom: #201d8c;
$custom-light: #6f5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#201d8c",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 241.622,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3306,
    "c": 0.17366,
    "h": 272.7
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#201D8C
secondary
#B9BC49
accent
#E93FE4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #201D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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